org.metasyntactic.io.filesystem
Class AbstractEntry

java.lang.Object
  |
  +--org.metasyntactic.io.filesystem.AbstractEntry
All Implemented Interfaces:
Entry
Direct Known Subclasses:
AbstractDirectory, AbstractFile

public abstract class AbstractEntry
extends java.lang.Object
implements Entry


Constructor Summary
AbstractEntry()
           
 
Method Summary
 java.lang.String getPath()
          Returns the absolute pathname string of this directory.
static boolean isLegal(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.metasyntactic.io.filesystem.Entry
delete, equals, getFileSystem, getName, getParent, hashCode
 

Constructor Detail

AbstractEntry

public AbstractEntry()
Method Detail

isLegal

public static boolean isLegal(java.lang.String name)
                       throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException

getPath

public java.lang.String getPath()
                         throws NoPermissionException
Description copied from interface: Entry
Returns the absolute pathname string of this directory.

Specified by:
getPath in interface Entry
NoPermissionException

toString

public java.lang.String toString()
Specified by:
toString in interface Entry
Overrides:
toString in class java.lang.Object