JanosVM v1.0 API

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

Fields inherited from class edu.utah.janosvm.resources.ResourceSpec
found
 
Constructor Summary
LogSpec(java.lang.String fileName)
          Construct a LogSpec with the given file name.
 
Method Summary
static LogSpec current()
           
protected  void finalize()
           
 java.lang.String getFileName()
           
private  void nativeConstructor(java.lang.String fileName)
          Construct the native part of the class.
private  void nativeFinalizer()
          Finalize the native part of the class.
 
Methods inherited from class edu.utah.janosvm.resources.ResourceSpec
find, nativeFind
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait, wait0
 

Constructor Detail

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.
Method Detail

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.

JanosVM v1.0 API

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