|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.util.ResourceFileManager
public class ResourceFileManager
Contains utility methods for dealing with resource files packaged within the application.
Constructor Summary | |
---|---|
ResourceFileManager()
|
Method Summary | |
---|---|
void |
copyResourceToFile(java.lang.Class<?> callingClass,
java.lang.String sourceResource,
java.io.File destinationFile)
Copies a packaged resource to a file on the file system. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceFileManager()
Method Detail |
---|
public void copyResourceToFile(java.lang.Class<?> callingClass, java.lang.String sourceResource, java.io.File destinationFile)
callingClass
- The calling class is used to load the resource, this allows
resources to be loaded with paths relative to the caller.sourceResource
- The input resource.destinationFile
- The output file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |