info.informatica.io
Class FilesystemInfo.TokenizedPath

java.lang.Object
  extended by info.informatica.io.FilesystemInfo.TokenizedPath
Enclosing class:
FilesystemInfo

public class FilesystemInfo.TokenizedPath
extends Object

Contains a tokenized path.


Constructor Summary
FilesystemInfo.TokenizedPath(String path)
          Constructor with path argument.
 
Method Summary
 String getAbsolutePath()
          Gets the absolute path.
 String getQualifiedPath()
          Gets the qualified path.
 String getToken(int i)
           
 String getVolumePrefix()
           
 Iterator<String> iterator()
           
 String[] toArray()
           
 int tokenCount()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FilesystemInfo.TokenizedPath

public FilesystemInfo.TokenizedPath(String path)
Constructor with path argument.

Parameters:
path - the path to break into tokens.
Throws:
NullPointerException - if argument is null.
Method Detail

getVolumePrefix

public String getVolumePrefix()

getToken

public String getToken(int i)

getAbsolutePath

public String getAbsolutePath()
Gets the absolute path.

Returns:
the absolute path, not including the disk drive (even if applicable)

getQualifiedPath

public String getQualifiedPath()
Gets the qualified path.

Returns:
the qualified path, including the disk drive (if applicable)

toArray

public String[] toArray()

iterator

public Iterator<String> iterator()

tokenCount

public int tokenCount()

toString

public String toString()
Overrides:
toString in class Object