Class LocalFileInitializer
- java.lang.Object
-
- org.eclipse.jetty.start.FileInitializer
-
- org.eclipse.jetty.start.fileinits.LocalFileInitializer
-
public class LocalFileInitializer extends FileInitializer
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.start.FileInitializer
_basehome, _scheme
-
-
Constructor Summary
Constructors Constructor Description LocalFileInitializer(BaseHome basehome)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
create(java.net.URI uri, java.lang.String location)
Initialize a file resource-
Methods inherited from class org.eclipse.jetty.start.FileInitializer
check, copyDirectory, download, getDestination, isApplicable, isFilePresent
-
-
-
-
Constructor Detail
-
LocalFileInitializer
public LocalFileInitializer(BaseHome basehome)
-
-
Method Detail
-
create
public boolean create(java.net.URI uri, java.lang.String location) throws java.io.IOException
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:
java.io.IOException
- if there was an attempt to initialize, but an error occurred.
-
-