adaptj
Class Scene

java.lang.Object
  |
  +--adaptj.Scene

public class Scene
extends java.lang.Object


Field Summary
(package private)  java.util.List classpath
           
static int HIDE_ERRORS
           
static int HIDE_MESSAGES
           
static int HIDE_WARNINGS
           
static java.lang.String ID_RESOLVER
           
static java.lang.String INSTRUCTION_RESOLVER
           
(package private)  boolean isRunningUnderWindows
           
 
Method Summary
 void add(ICustomizable eba)
           
 void addDefaultOperations()
           
 void addQuietMode(int quietMode)
           
 boolean addToClassPathAfter(java.lang.String path)
           
 boolean addToClassPathBefore(java.lang.String path)
           
 void checkDependencies()
           
 int checkVersion(int magic, int magic_type)
           
 java.util.Iterator classPathIterator()
           
 void disableAllOps()
           
 void displayHierarchy(java.io.PrintStream out)
           
 ICustomizable getByName(java.lang.String name)
           
 java.util.List getClassPath()
           
 long getCounterValue(AdaptJEvent event)
           
 long getCounterValue(int eventTypeID)
           
 long getCurrentEvent()
           
 long getEventCount()
           
static java.lang.String getEventNameFromID(int eventID)
           
 char getFileSeparator()
           
 java.lang.String getOption(java.lang.String name)
           
 char getPathSeparator()
           
 int getQuietMode()
           
 int getRefreshRate()
           
 int getSupportedVersion()
           
 int getVersion()
           
 void handleDependencyFailure(IEventBoxApplicable eba, java.lang.String dependencyName)
           
 boolean isOSWindows()
           
 boolean isProcessing()
           
 boolean isTypeDumped(AdaptJEvent event)
           
 boolean isTypeDumped(int eventTypeID)
           
 boolean isVerbose()
           
 void loadFile(java.lang.String fileName)
           
 boolean performOperations()
           
 boolean removeFromClassPath(java.lang.String path)
           
 void removeQuietMode(int quietMode)
           
 void reportError(java.lang.String msg)
           
 void reportFileNotFoundError(java.lang.String filename)
           
 void reportFileOpenError(java.lang.String filename)
           
 void reportReadError(java.lang.String filename)
           
 void reportWriteError(java.lang.String filename)
           
 void reset()
           
 boolean setClassPath(java.lang.String path)
           
 void setOption(java.lang.String name, java.lang.String value)
           
 void setPipedMode(boolean pipedMode)
           
 void setQuietMode(int quietMode)
           
 void setRefreshRate(int rate)
           
 void setShowProgress(boolean showProgress)
           
 void setShowTimes(boolean showTimes)
           
 void setVerbose(boolean verbose)
           
 void showDebug(java.lang.String msg)
           
 void showMessage(java.lang.String msg)
           
 void showWarning(java.lang.String msg)
           
 boolean supports(int version)
           
static Scene v()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HIDE_MESSAGES

public static final int HIDE_MESSAGES
See Also:
Constant Field Values

HIDE_WARNINGS

public static final int HIDE_WARNINGS
See Also:
Constant Field Values

HIDE_ERRORS

public static final int HIDE_ERRORS
See Also:
Constant Field Values

ID_RESOLVER

public static final java.lang.String ID_RESOLVER
See Also:
Constant Field Values

INSTRUCTION_RESOLVER

public static final java.lang.String INSTRUCTION_RESOLVER
See Also:
Constant Field Values

isRunningUnderWindows

boolean isRunningUnderWindows

classpath

java.util.List classpath
Method Detail

getEventNameFromID

public static java.lang.String getEventNameFromID(int eventID)

showMessage

public void showMessage(java.lang.String msg)

showWarning

public void showWarning(java.lang.String msg)

reportError

public void reportError(java.lang.String msg)

showDebug

public void showDebug(java.lang.String msg)

reportFileNotFoundError

public void reportFileNotFoundError(java.lang.String filename)

reportReadError

public void reportReadError(java.lang.String filename)

reportWriteError

public void reportWriteError(java.lang.String filename)

reportFileOpenError

public void reportFileOpenError(java.lang.String filename)

getQuietMode

public int getQuietMode()

setQuietMode

public void setQuietMode(int quietMode)

addQuietMode

public void addQuietMode(int quietMode)

removeQuietMode

public void removeQuietMode(int quietMode)

getSupportedVersion

public int getSupportedVersion()

supports

public boolean supports(int version)

getVersion

public int getVersion()

checkVersion

public int checkVersion(int magic,
                        int magic_type)
                 throws AEFFormatException
AEFFormatException

getCounterValue

public long getCounterValue(int eventTypeID)

getCounterValue

public long getCounterValue(AdaptJEvent event)

isTypeDumped

public boolean isTypeDumped(int eventTypeID)

isTypeDumped

public boolean isTypeDumped(AdaptJEvent event)

setRefreshRate

public void setRefreshRate(int rate)

getRefreshRate

public int getRefreshRate()

reset

public void reset()

v

public static Scene v()

addDefaultOperations

public void addDefaultOperations()

add

public void add(ICustomizable eba)

getByName

public ICustomizable getByName(java.lang.String name)

disableAllOps

public void disableAllOps()

displayHierarchy

public void displayHierarchy(java.io.PrintStream out)

setOption

public void setOption(java.lang.String name,
                      java.lang.String value)

getOption

public java.lang.String getOption(java.lang.String name)

setVerbose

public void setVerbose(boolean verbose)

isVerbose

public boolean isVerbose()

setShowTimes

public void setShowTimes(boolean showTimes)

setShowProgress

public void setShowProgress(boolean showProgress)

setPipedMode

public void setPipedMode(boolean pipedMode)

isProcessing

public boolean isProcessing()

getEventCount

public long getEventCount()

getCurrentEvent

public long getCurrentEvent()

loadFile

public void loadFile(java.lang.String fileName)
              throws java.io.IOException,
                     java.io.FileNotFoundException,
                     AEFFormatException
java.io.IOException
java.io.FileNotFoundException
AEFFormatException

handleDependencyFailure

public void handleDependencyFailure(IEventBoxApplicable eba,
                                    java.lang.String dependencyName)

checkDependencies

public void checkDependencies()

performOperations

public boolean performOperations()

getFileSeparator

public char getFileSeparator()

getPathSeparator

public char getPathSeparator()

isOSWindows

public boolean isOSWindows()

getClassPath

public java.util.List getClassPath()

classPathIterator

public java.util.Iterator classPathIterator()

setClassPath

public boolean setClassPath(java.lang.String path)

addToClassPathAfter

public boolean addToClassPathAfter(java.lang.String path)

addToClassPathBefore

public boolean addToClassPathBefore(java.lang.String path)

removeFromClassPath

public boolean removeFromClassPath(java.lang.String path)