public class ShutdownEntry
extends java.lang.Object
Constructor and Description |
---|
ShutdownEntry(org.apache.avalon.framework.logger.Logger logger,
java.io.File applicationDir,
java.lang.String location,
boolean useSystemExit)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasChanged() |
boolean |
isUseSystemExit() |
java.io.InputStream |
locate()
Creates an InputStream
|
public ShutdownEntry(org.apache.avalon.framework.logger.Logger logger, java.io.File applicationDir, java.lang.String location, boolean useSystemExit)
logger
- the logger to useapplicationDir
- the home directory of the applicationlocation
- the location to monitor for changesuseSystemExit
- use System.exit() on shutdownpublic boolean hasChanged()
public boolean isUseSystemExit()
public java.io.InputStream locate() throws java.io.IOException
java.io.IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.