public class TestFileInitializer extends FileInitializer
FileInitializer_basehome, _scheme| Constructor and Description |
|---|
TestFileInitializer(BaseHome basehome) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
create(URI uri,
String location)
Initialize a file resource
|
boolean |
isApplicable(URI uri) |
check, copyDirectory, download, getDestination, isFilePresentpublic TestFileInitializer(BaseHome basehome)
public boolean isApplicable(URI uri)
isApplicable in class FileInitializerpublic boolean create(URI uri, String location) throws IOException
FileInitializercreate in class FileInitializeruri - 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}) *IOException - if there was an attempt to initialize, but an error occurred.Copyright © 1995–2017 Webtide. All rights reserved.