|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.vfs.provider.AbstractFileName
org.apache.commons.vfs.provider.GenericFileName
org.inria.ns.reflex.modules.io.xmldb.XMLDBFileName
public class XMLDBFileName
An XMLDBFileName is the file name of an URL which scheme is the name of the XML:DB provider and wrapped in an URI which scheme is "xmldb" : xmldb:provider://host:port/path.
Field Summary | |
---|---|
static String |
XMLDB_SCHEME
The XML:DB scheme "xmldb". |
Fields inherited from interface org.apache.commons.vfs.FileName |
---|
ROOT_PATH, SEPARATOR, SEPARATOR_CHAR |
Method Summary | |
---|---|
FileName |
createName(String absPath,
FileType type)
Create a new XML:DB file name from a path. |
String |
getProvider()
Return the XML:DB provider. |
String |
getScheme()
Return the XML:DB scheme. |
static XMLDBFileName |
parseURI(String uri,
int defaultPort)
Return the file name from an XML:DB URI. |
Methods inherited from class org.apache.commons.vfs.provider.GenericFileName |
---|
getDefaultPort, getHostName, getPassword, getPort, getUserName |
Methods inherited from class org.apache.commons.vfs.provider.AbstractFileName |
---|
checkName, compareTo, equals, getBaseName, getDepth, getExtension, getFriendlyURI, getParent, getPath, getPathDecoded, getRelativeName, getRoot, getRootURI, getType, getURI, hashCode, isAncestor, isDescendent, isDescendent, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String XMLDB_SCHEME
Method Detail |
---|
public static XMLDBFileName parseURI(String uri, int defaultPort) throws FileSystemException
uri
- The URI "xmldb:provider://host:port/path".
FileSystemException
- If the URI can't be parsed.public FileName createName(String absPath, FileType type)
createName
in class GenericFileName
absPath
- The absolute path "/path/to/file".
XMLDBFileName
,
org.apache.commons.vfs.provider.AbstractFileName#createName(java.lang.String)
public String getProvider()
public String getScheme()
getScheme
in interface FileName
getScheme
in class AbstractFileName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |