public class BaseHomeFileInitializer extends FileInitializer
BaseHome
from a URI of the form
"basehome:some/path"
FileInitializer
_basehome, _scheme
Constructor and Description |
---|
BaseHomeFileInitializer(BaseHome basehome) |
Modifier and Type | Method and Description |
---|---|
boolean |
create(java.net.URI uri,
java.lang.String location)
Initialize a file resource
|
check, copyDirectory, download, getDestination, isApplicable, isFilePresent
public BaseHomeFileInitializer(BaseHome basehome)
public boolean create(java.net.URI uri, java.lang.String location) throws java.io.IOException
FileInitializer
create
in class FileInitializer
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}) *java.io.IOException
- if there was an attempt to initialize, but an error occurred.Copyright © 1995–2023 Webtide. All rights reserved.