public class FileAida
extends java.lang.Object
Constructor and Description |
---|
FileAida()
Create FileAida
|
FileAida(java.lang.String file)
Create object to read AIDA file.
|
FileAida(java.lang.String file,
boolean readOnly)
Create object to read AIDA file.
|
Modifier and Type | Method and Description |
---|---|
void |
cd(java.lang.String dir)
Navigate to a directory inside the file
|
void |
close()
Close the file
|
void |
doc()
Show online documentation.
|
java.lang.Object |
get(java.lang.String skey)
Get object associated with the key name
|
java.util.ArrayList<IManagedObject> |
getAll()
Get list of all objects
|
java.util.ArrayList<java.lang.String> |
getAllNames()
Get list of all objects
|
java.util.ArrayList<java.lang.String> |
getAllNames(java.lang.String a)
Get list of all objects
|
java.util.ArrayList<java.lang.String> |
getAllTypes()
Get list of all types
|
java.util.ArrayList<java.lang.String> |
getAllTypes(java.lang.String a)
Get list of all types
|
ITree |
getITree()
Return ITree for further manipulations
|
java.lang.String[] |
listObjectNames()
List name of the objects inside trees
|
void |
load(java.io.File f,
boolean readOnly)
Load a AIDA file
|
void |
load(java.lang.String file,
boolean readOnly)
Load a AIDA file
|
java.lang.String |
pwd()
Print the current directory
|
public FileAida(java.lang.String file)
file
- Input AIDA filepublic FileAida(java.lang.String file, boolean readOnly)
file
- Input AIDA filereadOnly
- public FileAida()
public void load(java.lang.String file, boolean readOnly)
f
- input filereadOnly
- - only readpublic void load(java.io.File f, boolean readOnly)
f
- input filereadOnly
- - only readpublic java.lang.Object get(java.lang.String skey)
skey
- key namepublic java.lang.String[] listObjectNames()
public java.util.ArrayList<java.lang.String> getAllNames(java.lang.String a)
a
- pathpublic java.util.ArrayList<java.lang.String> getAllNames()
public java.util.ArrayList<java.lang.String> getAllTypes()
public java.util.ArrayList<java.lang.String> getAllTypes(java.lang.String a)
a
- pathpublic void cd(java.lang.String dir)
public java.lang.String pwd()
show
- current directorypublic void close() throws java.io.IOException
java.io.IOException
public java.util.ArrayList<IManagedObject> getAll()
public ITree getITree()
public void doc()
JHepSim. A part of HSTOOLS. version-1.2