Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * $Id$
   */
  
  package com.javaforge.bobber.archetype.model;
  
    //---------------------------------/
   //- Imported classes and packages -/
  //---------------------------------/
 
 import java.util.Date;

Represents a template in the archetype to be processed .

Version:
$Revision$ $Date$
 
 public class Template implements java.io.Serializable {
 
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
Field file.
 
     private String file;

    
Field output.
 
     private String output;

    
If the specified variable is true, the template will be processed, otherwise skipped.
 
     private String dependsOnVar;
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Get if the specified variable is true, the template will be processed, otherwise skipped.

Returns:
String
 
     public String getDependsOnVar()
     {
         return this.;
     } //-- String getDependsOnVar() 
 
    
Get the file field.

Returns:
String
 
     public String getFile()
     {
         return this.;
     } //-- String getFile() 
 
    
Get the output field.

Returns:
String
 
     public String getOutput()
     {
         return this.;
     } //-- String getOutput() 
 
    
Set if the specified variable is true, the template will be processed, otherwise skipped.

Parameters:
dependsOnVar
 
     public void setDependsOnVar(String dependsOnVar)
     {
         this. = dependsOnVar;
     } //-- void setDependsOnVar(String) 
 
    
Set the file field.

Parameters:
file
 
     public void setFile(String file)
     {
         this. = file;
     } //-- void setFile(String) 

    
Set the output field.

Parameters:
output
    public void setOutput(String output)
    {
        this. = output;
    } //-- void setOutput(String) 
    private String modelEncoding = "UTF-8";

    
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding the encoding used when reading/writing the model.
    public void setModelEncodingString modelEncoding )
    {
        this. = modelEncoding;
    }

    

Returns:
the current encoding used when reading/writing this model.
    public String getModelEncoding()
    {
        return ;
    }
New to GrepCode? Check out our FAQ X