|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.helpers.FileHelper
Abstract class containing common functionality and providing required methods to subclasses. Creation date: (12/4/2001 10:45:23 PM)
Constructor Summary | |
FileHelper()
|
Method Summary | |
static com.ibm.as400.access.AS400 |
getAS400(FileDescriptor pFileDescriptor)
Lazy Inits the AS400 object. |
char |
getFileSeparator()
Returns the correct file.separator for this platform. |
static FileDescriptor |
newFileDescriptor()
This is the only way to get an instance of a new FileDescriptor Creation date: (1/21/2002 7:32:32 PM) |
static FileDescriptor |
newFileDescriptor(FilePropertyGroup pProperties)
This is the only way to get an instance of a new FileDescriptor Creation date: (1/21/2002 7:32:32 PM) |
String |
validateFileName(String pFileName)
Validates a file name and throws a CMException if the name is invalid Creation date: (12/4/2001 11:05:18 PM) |
StringBuffer |
writeData(StringBuffer pData,
FileDescriptor pFileDescriptor)
This method will write the StringBuffer pData data to a file. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileHelper()
Method Detail |
public static com.ibm.as400.access.AS400 getAS400(FileDescriptor pFileDescriptor)
public char getFileSeparator()
public static FileDescriptor newFileDescriptor()
public static FileDescriptor newFileDescriptor(FilePropertyGroup pProperties)
public String validateFileName(String pFileName) throws CMException
CMException
public StringBuffer writeData(StringBuffer pData, FileDescriptor pFileDescriptor) throws CMException
Validation of the file name and data will also be check here and a CMException will be thrown if problems exist. Creation date: (1/21/2002 7:09:16 PM)
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |