Sun Adapter for Batch/FTP

com.stc.connector.batchadapter.util
Class LocalFileName

java.lang.Object
  extended by com.stc.connector.batchadapter.util.LocalFileName

public class LocalFileName
extends java.lang.Object

A file name class for local file component.


Constructor Summary
LocalFileName(java.lang.String fullPathName, java.lang.String directoryName, java.lang.String fileName)
          Constructor.
 
Method Summary
 java.lang.String getDirectoryName()
           
 java.lang.String getFileName()
           
 java.lang.String getFullPathName()
           
 boolean isDirectory()
           
 boolean isFile()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalFileName

public LocalFileName(java.lang.String fullPathName,
                     java.lang.String directoryName,
                     java.lang.String fileName)
Constructor.

Parameters:
fullPathName - The full path name for this local file name.
dirName - The directory name component of this local file name.
fileName - The file name component of this local file name.
Method Detail

isDirectory

public boolean isDirectory()

isFile

public boolean isFile()

getFullPathName

public java.lang.String getFullPathName()

getDirectoryName

public java.lang.String getDirectoryName()

getFileName

public java.lang.String getFileName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Sun Adapter for Batch/FTP