hep.aida
Interface ITree
- All Known Subinterfaces:
- IDevTree
- public interface ITree
User level interface to a Tree.
All paths follow unix convention .., ., /,
backslash is the escape character.
Relative paths are allowed.
NOTE: - this tree keeps a current position (pwd) within the tree.
This may be implemented on a per-thread basis.
- Version:
- $Id: ITree.html,v 1.1 2002/10/08 00:51:18 tonyj Exp $
- Author:
- Pavel Binko, Dino Ferrero Merlino, Wolfgang Hoschek, Tony Johnson, Andreas Pfeiffer, Mark Donszelmann, Guy Barrand
- Source Code:
- ITree.java
storeName
public String storeName()
find
public IManagedObject find(String path)
throws IllegalArgumentException
cd
public void cd(String path)
throws IllegalArgumentException
pwd
public String pwd()
ls
public Iterator ls()
ls
public Iterator ls(boolean recursive)
ls
public Iterator ls(String path)
throws IllegalArgumentException
ls
public Iterator ls(String path,
boolean recursive)
throws IllegalArgumentException
mkdir
public void mkdir(String path)
throws IllegalArgumentException
mkdirs
public void mkdirs(String path)
throws IllegalArgumentException
rmdir
public void rmdir(String path)
rm
public void rm(String path)
findPath
public String findPath(IManagedObject object)
throws IllegalArgumentException
mv
public void mv(String oldPath,
String newPath)
throws IllegalArgumentException
commit
public void commit()
throws IOException
cp
public void cp(String oldPath,
String newPath)
throws IllegalArgumentException
cp
public void cp(String oldPath,
String newPath,
boolean recursive)
throws IllegalArgumentException
symlink
public void symlink(String path,
String alias)
throws IllegalArgumentException
mount
public void mount(String path,
ITree tree,
String treePath)
throws IllegalArgumentException
- Mounts a tree within another (target) tree.
Example:
target.mount("/home/tonyj",tree,"/");
- Parameters:
path
- The path in the target treetree
- The tree to mount within the target treetreePath
- the mount point within the tree to be mounted.
unmount
public void unmount(String path)
throws IllegalArgumentException
close
public void close()
throws IOException
Copyright © 2000, 2001 AIDA Team, All Rights Reserved.