|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileControl
Nested Class Summary | |
---|---|
static class |
FileControl.FileCreateMode
|
static interface |
FileControl.FileInfo
|
static class |
FileControl.FileIOType
|
static class |
FileControl.FileSuffixType
|
static interface |
FileControl.FileTransferMode
|
static interface |
FileControl.Ftp
|
static interface |
FileControl.IOOperation
|
static interface |
FileControl.SFtp
|
static interface |
FileControl.SFtpCustomProperties
|
static interface |
FileControl.SFtpCustomProperty
|
static class |
FileControl.TransferMode
|
Field Summary | |
---|---|
static String |
ATTR_POST_READ
|
static String |
ATTR_POST_READ_ARCHIVE
|
static String |
ATTR_POST_READ_DELETE
|
Method Summary | |
---|---|
void |
copy(String fileName)
Copy the current file to the specified file name. |
void |
delete()
Delete the current file. |
void |
ftpToLocal()
Copy the from remote FTP server to local filesystem |
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 |
void |
sftpToLocal()
Copy the from remote SFTP server to local filesystem |
Field Detail |
---|
static final String ATTR_POST_READ
static final String ATTR_POST_READ_DELETE
static final String ATTR_POST_READ_ARCHIVE
Method Detail |
---|
com.bea.wli.control.dynamicProperties.FileControlFileListDocument getFiles()
void setProperties(com.bea.wli.control.dynamicProperties.FileControlPropertiesDocument xmlProp) throws IllegalArgumentException
xmlProp
- the dynamic properties for the control
IllegalArgumentException
- if invalid properties are specifiedcom.bea.wli.control.dynamicProperties.FileControlPropertiesDocument getProperties()
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 filevoid 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 filevoid 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 filevoid ftpToLocal() throws IOException
IOException
- reading the filevoid sftpToLocal() throws IOException
IOException
- reading the filevoid reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |