edu.utah.janosvm.resources
Class FileSystemSpec
java.lang.Object
|
+--edu.utah.janosvm.resources.ResourceSpec
|
+--edu.utah.janosvm.resources.FileSystemSpec
- All Implemented Interfaces:
- java.lang.Cloneable
- public final class FileSystemSpec
- extends ResourceSpec
- implements java.lang.Cloneable
Specification for the file system resource. Basically, this lets you
"chroot()" a team.
Constructor Summary |
FileSystemSpec(java.lang.String root)
Construct a FileSystemSpec with the given value. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait, wait0 |
FileSystemSpec
public FileSystemSpec(java.lang.String root)
- Construct a FileSystemSpec with the given value.
- Parameters:
root
- The file system root directory or an empty string if the
team should not be able to access files.
nativeConstructor
private void nativeConstructor(java.lang.String root)
- Constructor for the native part of the object.
- Parameters:
root
- The file system root.
nativeFinalizer
private void nativeFinalizer()
- Finalizer for the native part of the object.
getRoot
public java.lang.String getRoot()
- Returns:
- The root directory value.
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
current
public static FileSystemSpec current()
- Returns:
- A copy of this team's FileSystemSpec.
defaultSpec
public static FileSystemSpec defaultSpec()
- Returns:
- A FileSystemSpec with the default value.
This documentation is Copyright (C) 2000-2003 The University of Utah. All Rights Reserved. See the documentation license for distribution terms and restrictions.
Documentation, software, and mailing lists for the JanosVM can be found at the Janos Project web page: http://www.cs.utah.edu/flux/janos/
Generated on Feb 13, 2003