|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
File Control base interface
| Nested Class Summary |
| Nested classes inherited from class com.bea.control.Control |
com.bea.control.Control.Callback |
| Method Summary | |
void |
copy(String fileName)
Copy the current file to the specified file name. |
void |
delete()
Delete the current file. |
com.bea.wli.control.dynamicProperties.FileControlFileListDocument |
getFiles()
Returns Iterator for the File objects matching the specified file mask in the current directory. |
com.bea.wli.control.dynamicProperties.FileControlPropertiesDocument |
getProperties()
Get the dynamic properties for the control |
void |
rename(String fileName)
Rename the current file to the specified file name. |
void |
reset()
Reset the file control by closing any in-progress operations such as: readLine, readRecord and append. |
void |
setProperties(com.bea.wli.control.dynamicProperties.FileControlPropertiesDocument xmlProp)
Set the dynamic properties for the control |
| Field Detail |
public static final long serialVersionUID
public static final String TAG_FILE
public static final String TAG_FILE_OPERATION
public static final String DYNAMIC_PROPERTIES_TAG
public static final String ATTR_IO_TYPE
public static final String ATTR_CURRENT_DIR
public static final String ATTR_FILE_MASK
public static final String ATTR_ERROR_DIR
public static final String ATTR_ARCHIVE_DIR
public static final String ATTR_SUFFIX_NAME
public static final String ATTR_SUFFIX_TYPE
public static final String ATTR_CREATE_MODE
public static final String ATTR_POST_READ
public static final String ATTR_FTP_HOST_NAME
public static final String ATTR_FTP_USER_NAME
public static final String ATTR_FTP_LOCAL_DIR
public static final String ATTR_SUFFIX_TYPE_INDEX
public static final String ATTR_SUFFIX_TYPE_TIMESTAMP
public static final String ATTR_CREATE_MODE_OVERWRITE
public static final String ATTR_CREATE_MODE_RENAME
public static final String ATTR_POST_READ_DELETE
public static final String ATTR_POST_READ_ARCHIVE
public static final String ATTR_IO_TYPE_READ
public static final String ATTR_IO_TYPE_WRITE
public static final String ATTR_IO_TYPE_APPEND
public static final String ATTR_IO_TYPE_READLINE
public static final String ATTR_FILE_CONTENT
public static final String ATTR_RECORD_SIZE
public static final String ATTR_ENCODING
public static final String ATTR_DELIMITER
public static final String ATTR_DELIMITER_CHECKBOX
| Method Detail |
public com.bea.wli.control.dynamicProperties.FileControlFileListDocument getFiles()
public void setProperties(com.bea.wli.control.dynamicProperties.FileControlPropertiesDocument xmlProp)
throws IllegalArgumentException
xmlProp - the dynamic properties for the control
IllegalArgumentException - if invalid properties are specifiedpublic com.bea.wli.control.dynamicProperties.FileControlPropertiesDocument getProperties()
public void rename(String fileName)
throws FileNotFoundException,
IOException,
SecurityException,
IllegalArgumentException
fileName - name of the file to be renamed to
IllegalArgumentException - if invalid file name is specified
FileNotFoundException - if the file is not present
IOException - reading the file
SecurityException - reading the file
public void delete()
throws FileNotFoundException,
IOException,
SecurityException
IllegalArgumentException - if invalid file name is specified
FileNotFoundException - if the file is not present
IOException - reading the file
SecurityException - reading the file
public void copy(String fileName)
throws FileNotFoundException,
IOException,
SecurityException,
IllegalArgumentException
fileName - name of the file name to be copied to
IllegalArgumentException - if invalid file name is specified
FileNotFoundException - if the file is not present
IOException - reading the file
SecurityException - reading the filepublic void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||