net.sourceforge.dvb.projectx.xinput
Interface XInputDirectoryIF

All Known Implementing Classes:
XInputDirectory, XInputDirectoryImpl, XInputDirectoryImpl, XInputDirectoryImpl

public interface XInputDirectoryIF


Method Summary
 java.lang.String getDirectory()
          Get path of directory
 DirType getDirType()
           
 XInputFile[] getFiles()
          Get files in the directory.
 java.lang.String getLog()
          Get log of communication with ftp server.
 java.lang.String getPassword()
          Get password for the ftp server
 java.lang.String getPort()
          Get port of the ftp server
 java.lang.String getServer()
          Get name or ip address of the ftp server
 java.lang.String getTestMsg()
          Get result message after test().
 java.lang.String getUser()
          Get user for the ftp server
 boolean test()
          Test if directory data is valid.
 java.lang.String toString()
          Get String representation of the object.
 

Method Detail

toString

public java.lang.String toString()
Get String representation of the object.
Overrides:
toString in class java.lang.Object
Returns:
String representation of the object

getDirectory

public java.lang.String getDirectory()
Get path of directory
Returns:
Path of directory

getPassword

public java.lang.String getPassword()
Get password for the ftp server
Returns:
Password for the ftp server
Throws:
java.lang.IllegalStateException - If file type of object is not FileType.FTP_DIR

getServer

public java.lang.String getServer()
Get name or ip address of the ftp server
Returns:
Name or ip address of the ftp server
Throws:
java.lang.IllegalStateException - If file type of object is not FileType.FTP_DIR

getPort

public java.lang.String getPort()
Get port of the ftp server
Returns:
port of the ftp server
Throws:
java.lang.IllegalStateException - If file type of object is not FileType.FTP_DIR

getUser

public java.lang.String getUser()
Get user for the ftp server
Returns:
User for the ftp server
Throws:
java.lang.IllegalStateException - If file type of object is not FileType.FTP_DIR

getLog

public java.lang.String getLog()
Get log of communication with ftp server.
Returns:
Log of communication with ftp server
Throws:
java.lang.IllegalStateException - If file type of object is not FileType.FTP_DIR

getFiles

public XInputFile[] getFiles()
Get files in the directory.
Returns:
files in the directory

test

public boolean test()
Test if directory data is valid.
Returns:
Test successful or not

getTestMsg

public java.lang.String getTestMsg()
Get result message after test().
Returns:
result message after test()

getDirType

public DirType getDirType()
Returns:
Type of XInputDirectory