All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
generated.docs.javadoc.org.eclipse.dawnsci.analysis.tree.TreeFactory.html Maven / Gradle / Ivy
TreeFactory (h5jan API)
JavaScript is disabled on your browser.
java.lang.Object
org.eclipse.dawnsci.analysis.tree.TreeFactory
Method Summary
All Methods Static Methods Concrete Methods
Modifier and Type
Method and Description
static Attribute
createAttribute (java.lang.String attrName)
Create an attribute with name
static Attribute
createAttribute (java.lang.String attrName,
java.lang.Object attrValue)
Create an attribute with name and value
static Attribute
createAttribute (java.lang.String attrName,
java.lang.Object attrValue,
boolean isUnsigned)
Create an attribute with name, value and sign
static DataNode
createDataNode (long oid)
Create a data node with given object ID
static GroupNode
createGroupNode (long oid)
Create a group node with given object ID
static NodeLink
createNodeLink (java.lang.String link,
Node source,
Node destination)
Create a node link
static SymbolicNode
createSymbolicNode (long oid,
Tree tree,
GroupNode groupWithNode,
java.lang.String pathToNode)
Create a symbolic link with given object ID, from tree, group and node path
static SymbolicNode
createSymbolicNode (long oid,
java.net.URI uri,
GroupNode groupWithNode,
java.lang.String pathToNode)
Create a symbolic link with given object ID, from URI to tree, group and node path
static Tree
createTree (long oid,
java.net.URI uri)
Create a tree with given object ID and URI
static TreeFile
createTreeFile (long oid,
java.lang.String fileName)
Create a tree file with given object ID and file name
static TreeFile
createTreeFile (long oid,
java.net.URI uri)
Create a tree file with given object ID and URI
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
TreeFactory
public TreeFactory()
Method Detail
createAttribute
public static Attribute createAttribute(java.lang.String attrName,
java.lang.Object attrValue)
Create an attribute with name and value
Parameters:
attrName
-
attrValue
- (usually, this is a Java array)
createAttribute
public static Attribute createAttribute(java.lang.String attrName,
java.lang.Object attrValue,
boolean isUnsigned)
Create an attribute with name, value and sign
Parameters:
attrName
-
attrValue
- (usually, this is a Java array)
isUnsigned
- true if items are unsigned but held in signed primitives
createSymbolicNode
public static SymbolicNode createSymbolicNode(long oid,
Tree tree,
GroupNode groupWithNode,
java.lang.String pathToNode)
Create a symbolic link with given object ID, from tree, group and node path
Parameters:
oid
- object ID
tree
-
groupWithNode
- (can be null if path is absolute)
pathToNode
- (ends in separator if group, otherwise a dataset)
createSymbolicNode
public static SymbolicNode createSymbolicNode(long oid,
java.net.URI uri,
GroupNode groupWithNode,
java.lang.String pathToNode)
Create a symbolic link with given object ID, from URI to tree, group and node path
Parameters:
oid
- object ID
uri
-
groupWithNode
- (can be null if path is absolute)
pathToNode
- (ends in separator if group, otherwise a dataset)
createTreeFile
public static TreeFile createTreeFile(long oid,
java.net.URI uri)
Create a tree file with given object ID and URI
Parameters:
oid
- object ID
uri
-
createTreeFile
public static TreeFile createTreeFile(long oid,
java.lang.String fileName)
Create a tree file with given object ID and file name
Parameters:
oid
- object ID
fileName
-