|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.wbi.protocol.http.beans.FileGeneratorHelper
Helper for the FileGenerator class.
| Field Summary | |
static java.lang.String |
COPYRIGHT
IBM copyright information. |
| Constructor Summary | |
FileGeneratorHelper(java.io.File f)
Construct the file helper. |
|
FileGeneratorHelper(FileGeneratorHelper directory,
java.lang.String f)
Construct the file helper from a FileGeneratorHelper that corresponds to a directory and a filename within that directory |
|
FileGeneratorHelper(java.lang.String f)
Construct the file helper. |
|
| Method Summary | |
boolean |
exists()
Determine if the file exists. |
java.io.File |
getFile()
Get the File object that refers to the file. |
boolean |
isDirectory()
Determine if the file refers to a directory. |
long |
length()
Get the length of the file. |
void |
writeData(java.io.OutputStream out)
Write the data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String COPYRIGHT
| Constructor Detail |
public FileGeneratorHelper(java.lang.String f)
public FileGeneratorHelper(java.io.File f)
public FileGeneratorHelper(FileGeneratorHelper directory,
java.lang.String f)
| Method Detail |
public boolean exists()
true if exists; else false.public long length()
public boolean isDirectory()
public java.io.File getFile()
public void writeData(java.io.OutputStream out)
out - The output stream.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||