edu.utah.janosvm.resources
Class LogSpec
java.lang.Object
|
+--edu.utah.janosvm.resources.ResourceSpec
|
+--edu.utah.janosvm.resources.LogSpec
- public final class LogSpec
- extends ResourceSpec
Resource specification for the log file.
- Author:
- Tim Stack, Utah Janos Team
Constructor Summary |
LogSpec(java.lang.String fileName)
Construct a LogSpec with the given file name. |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait, wait0 |
LogSpec
public LogSpec(java.lang.String fileName)
- Construct a LogSpec with the given file name.
- Parameters:
fileName
- The name of the file to use as output for any log data
or an empty string if no logging should be done.
nativeConstructor
private void nativeConstructor(java.lang.String fileName)
- Construct the native part of the class.
nativeFinalizer
private void nativeFinalizer()
- Finalize the native part of the class.
getFileName
public java.lang.String getFileName()
- Returns:
- The name of the file to use as output for any log data or an
empty string if no logging should be done.
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
current
public static LogSpec current()
- Returns:
- The LogSpec used to create the current team or null if the
system default log is being used.
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