public class TestFileInitializer extends Object implements FileInitializer
FileInitializer| Constructor and Description |
|---|
TestFileInitializer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
init(URI uri,
Path file,
String fileRef)
Initialize a file resource
|
public boolean init(URI uri, Path file, String fileRef) throws IOException
FileInitializerinit in interface FileInitializeruri - the remote URI of the resource acting as its sourcefile - the local file resource to initialize. (often in ${jetty.base} directory)fileRef - the simple string reference to the output file, suitable for searching
for the file in other locations (like ${jetty.home} or ${jetty.dir})FileInitializer did nothing.IOException - if there was an attempt to initialize, but an error occurred.Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.