com.pow2.texen.ant
Class FileBean

java.lang.Object
  extended bycom.pow2.texen.ant.FileBean

public class FileBean
extends Object

FileBean class

Author:
Luca Fossato

Constructor Summary
FileBean()
          Default Constructor
 
Method Summary
 String getFileContent()
          Gets the fileContent attribute of the FileBean object
 String getFileContent(String fileName)
          Gets the fileContent attribute of the FileBean object
 String getFileDirectory()
          Gets the textDirectory attribute of the FileBean object
 String getFileName()
          Gets the fileName attribute of the FileBean object
 void setFileContent(String fileContent)
          Sets the fileContent attribute of the FileBean object
 void setFileDirectory(String fileDirectory)
          Sets the textDirectory attribute of the FileBean object
 void setFileName(String fileName)
          Sets the fileName attribute of the FileBean object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileBean

public FileBean()
Default Constructor

Method Detail

setFileDirectory

public void setFileDirectory(String fileDirectory)
Sets the textDirectory attribute of the FileBean object

Parameters:
fileDirectory - The new fileDirectory value

getFileDirectory

public String getFileDirectory()
Gets the textDirectory attribute of the FileBean object

Returns:
The textDirectory value

getFileName

public String getFileName()
Gets the fileName attribute of the FileBean object

Returns:
The fileName value

setFileName

public void setFileName(String fileName)
Sets the fileName attribute of the FileBean object

Parameters:
fileName - The new fileName value

setFileContent

public void setFileContent(String fileContent)
Sets the fileContent attribute of the FileBean object

Parameters:
fileContent - The new fileContent value

getFileContent

public String getFileContent()
Gets the fileContent attribute of the FileBean object

Returns:
The fileContent value

getFileContent

public String getFileContent(String fileName)
Gets the fileContent attribute of the FileBean object

Parameters:
fileName - the name of the file to read
Returns:
the fileContent value, or the exception message string if any error occurs


Copyright © 2002-2004 Power Of Two S.R.L. All Rights Reserved.