Class BaseHomeFileInitializer
java.lang.Object
org.eclipse.jetty.start.FileInitializer
org.eclipse.jetty.start.fileinits.BaseHomeFileInitializer
Copy a file found in
BaseHome
from a URI of the form
"basehome:some/path"
FileInitializer
-
Field Summary
Fields inherited from class org.eclipse.jetty.start.FileInitializer
_basehome, _scheme
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.start.FileInitializer
check, copyDirectory, getDestination, isApplicable, isFilePresent
-
Constructor Details
-
BaseHomeFileInitializer
-
-
Method Details
-
create
Description copied from class:FileInitializer
Initialize a file resource- Specified by:
create
in classFileInitializer
- Parameters:
uri
- the URI of the resource acting as its sourcelocation
- the simple string reference to the output file, suitable for searching for the file in other locations (like ${jetty.home} or ${jetty.dir}) *- Returns:
- true if local file system is modified.
- Throws:
IOException
- if there was an attempt to initialize, but an error occurred.
-