org.inria.ns.reflex.modules.io.fallback
Class FallbackFileName

java.lang.Object
  extended by org.apache.commons.vfs.provider.AbstractFileName
      extended by org.inria.ns.reflex.modules.io.fallback.FallbackFileName
All Implemented Interfaces:
Comparable, FileName

public class FallbackFileName
extends AbstractFileName
implements FileName

The FallbackFileName is the file part that is really usable.

Author:
Philippe Poulard

Field Summary
 
Fields inherited from interface org.apache.commons.vfs.FileName
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR
 
Constructor Summary
FallbackFileName(String name)
           
FallbackFileName(URI uri)
           
 
Method Summary
 FileName createName(String absPath)
           
 FileName createName(String absPath, FileType type)
           
 boolean equals(Object obj)
           
 String getRootURI()
           
 
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileName
checkName, compareTo, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getScheme, getType, getURI, hashCode, isAncestor, isDescendent, isDescendent, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.vfs.FileName
getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getScheme, getType, getURI, isAncestor, isDescendent, isDescendent
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

FallbackFileName

public FallbackFileName(String name)
                 throws URISyntaxException
Throws:
URISyntaxException

FallbackFileName

public FallbackFileName(URI uri)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class AbstractFileName

createName

public FileName createName(String absPath)

createName

public FileName createName(String absPath,
                           FileType type)
Specified by:
createName in class AbstractFileName

getRootURI

public String getRootURI()
Specified by:
getRootURI in interface FileName
Overrides:
getRootURI in class AbstractFileName