|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.helpers.FileDescriptor
FileDescriptor holds common/generic attributes about a file. FileDescriptor is to only be created via planetj.helpers.Helper.newFileDescriptor(); Creation date: (1/21/2002 7:16:24 PM)
Field Summary | |
static byte |
COLUMN_HEADINGS_EXTERNAL
Use external names for column headings |
static byte |
COLUMN_HEADINGS_INTERNAL
Use internal column headings |
static byte |
COLUMN_HEADINGS_NONE
Do not use column headings |
static char |
OUTPUT_ROWS_ALL
Display all rows which meet the current criteria |
static char |
OUTPUT_ROWS_SCREEN
Output all rows on the current screen |
static char |
OUTPUT_ROWS_SELECTED
Output only rows which have been selected by the user |
Method Summary | |
byte |
getColumnHeadingsDisplayType()
Gets the type of column headings to display |
List |
getDisplayColumns()
Gets the names of the columns to display. |
String |
getFileName()
Returns the file name of the CSV file |
char |
getOutputRowType()
Describes which rows should be output |
String |
getPassword()
Insert the method's description here. |
String |
getSystemName()
Insert the method's description here. |
String |
getUserId()
Insert the method's description here. |
boolean |
isAppendToFile()
If the file exists, should we append to that file? Creation date: (12/4/2001 10:24:08 PM) |
void |
setAppendToFile(boolean newAppendToFile)
If you want the existing CSV file to simply be appended to, set this value to true Defaults to false Creation date: (12/4/2001 10:24:08 PM) |
void |
setColumnHeadingsDisplayType(byte newColumnHeadingsDisplay)
Gets the type of column headings to display |
void |
setDisplayColumns(List columnNames)
Sets the names of the columns to display. |
void |
setFileName(String newFileName)
This must be the qualified file name (i.e. |
void |
setOutputRowType(char newOutputRowType)
Describes which rows should be output |
void |
setPassword(String newPassword)
Insert the method's description here. |
void |
setSystemName(String newSystemName)
Insert the method's description here. |
void |
setUserId(String newUserId)
Insert the method's description here. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte COLUMN_HEADINGS_NONE
public static final byte COLUMN_HEADINGS_INTERNAL
public static final byte COLUMN_HEADINGS_EXTERNAL
public static final char OUTPUT_ROWS_ALL
public static final char OUTPUT_ROWS_SCREEN
public static final char OUTPUT_ROWS_SELECTED
Method Detail |
public byte getColumnHeadingsDisplayType()
public List getDisplayColumns()
public String getFileName()
If there is no file name specified in here or mFileName is null, then the caller did not want to have a file created, because maybe they may want to display the CSV StringBuffer in a browser or do more analysis of it.
Creation date: (12/4/2001 10:24:08 PM)
public char getOutputRowType()
public String getPassword()
public String getSystemName()
public String getUserId()
public boolean isAppendToFile()
public void setAppendToFile(boolean newAppendToFile)
newAppendToFile
- booleanpublic void setColumnHeadingsDisplayType(byte newColumnHeadingsDisplay)
public void setDisplayColumns(List columnNames)
public void setFileName(String newFileName)
If there is no file name specified in here or mFileName is null, then the caller did not want to have a file created, because maybe they may want to display the CSV StringBuffer in a browser or do more analysis of it.
Creation date: (12/4/2001 10:24:08 PM)
newFileName
- java.lang.Stringpublic void setOutputRowType(char newOutputRowType)
public void setPassword(String newPassword)
newPassword
- java.lang.Stringpublic void setSystemName(String newSystemName)
newSystemName
- java.lang.Stringpublic void setUserId(String newUserId)
newUserId
- java.lang.String
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |