generated.docs.javadoc.org.eclipse.dawnsci.analysis.tree.impl.TreeFileImpl.html Maven / Gradle / Ivy
TreeFileImpl (h5jan API)
org.eclipse.dawnsci.analysis.tree.impl
Class TreeFileImpl
- java.lang.Object
-
- org.eclipse.dawnsci.analysis.tree.impl.TreeImpl
-
- org.eclipse.dawnsci.analysis.tree.impl.TreeFileImpl
-
public class TreeFileImpl
extends TreeImpl
implements TreeFile, java.io.Serializable
Top level node for tree-based file
- See Also:
- Serialized Form
-
-
Field Summary
Fields
Modifier and Type
Field and Description
protected static long
serialVersionUID
-
Fields inherited from interface org.eclipse.dawnsci.analysis.api.tree.Tree
FILE_STARTER, HOST_SEPARATOR, ROOT
-
Constructor Summary
Constructors
Constructor and Description
TreeFileImpl(long oid,
java.lang.String fileName)
Construct a tree file with given object ID and file name
TreeFileImpl(long oid,
java.net.URI uri)
Construct a tree file with given object ID and URI
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
java.lang.String
getFilename()
java.lang.String
getParentDirectory()
java.lang.String
toString()
-
Methods inherited from class org.eclipse.dawnsci.analysis.tree.impl.TreeImpl
canonicalizePath, findNodeLink, getGroupNode, getHostname, getID, getNodeLink, getSourceURI, setGroupNode, setHostname
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.dawnsci.analysis.api.tree.Tree
findNodeLink, getGroupNode, getHostname, getID, getNodeLink, getSourceURI, setGroupNode, setHostname
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
Constructor Detail
-
TreeFileImpl
public TreeFileImpl(long oid,
java.net.URI uri)
Construct a tree file with given object ID and URI
- Parameters:
oid
- object ID
uri
-
-
TreeFileImpl
public TreeFileImpl(long oid,
java.lang.String fileName)
Construct a tree file with given object ID and file name
- Parameters:
oid
- object ID
fileName
-
-
Method Detail
-
getFilename
public java.lang.String getFilename()
- Specified by:
getFilename
in interface TreeFile
- Returns:
- full path to file (including name)
-
getParentDirectory
public java.lang.String getParentDirectory()
- Specified by:
getParentDirectory
in interface TreeFile
- Returns:
- full path of parent directory