JTools

org.jtools.io.path
Class SimplePathEntry

java.lang.Object
  extended by org.jtools.io.path.SimplePathEntry
All Implemented Interfaces:
PathElement, PathEntry

public class SimplePathEntry
extends Object
implements PathEntry


Constructor Summary
SimplePathEntry(File base, String child)
           
SimplePathEntry(URL base, String child)
           
 
Method Summary
 File getFile()
           
 String getRelativePath()
           
 URL getURL()
           
 boolean isPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePathEntry

public SimplePathEntry(File base,
                       String child)
                throws MalformedURLException
Throws:
MalformedURLException

SimplePathEntry

public SimplePathEntry(URL base,
                       String child)
                throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getFile

public final File getFile()
Specified by:
getFile in interface PathEntry

getRelativePath

public final String getRelativePath()
Specified by:
getRelativePath in interface PathEntry

getURL

public final URL getURL()
Specified by:
getURL in interface PathEntry

isPath

public final boolean isPath()
Specified by:
isPath in interface PathElement

JTools

© 2000-2006, JTools.org.