public class SchemaResourceManager extends BaseSchemaResourceManager
| Constructor and Description |
|---|
SchemaResourceManager(File directory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteFile(String filename)
Deletes a file.
|
protected boolean |
fileExists(String filename)
Returns true if the given filename exists.
|
protected String[] |
getAllXSDFilenames()
Returns a list of all the XSD filesnames in the project.
|
protected InputStream |
inputStreamForFile(String filename)
Gets the data in the given filename as an InputStream.
|
static void |
main(String[] args) |
static void |
printUsage() |
protected void |
warning(String msg)
Sends messages to System.out.
|
protected void |
writeInputStreamToFile(InputStream input,
String filename)
Writes an entire file in one step.
|
getDefaultSchemaDir, getIndexFilename, init, lookupResource, process, processAll, reportActualNamespace, syncCacheWithLocalXsdFiles, writeCacheresolveImportspublic SchemaResourceManager(File directory)
public static void printUsage()
public static void main(String[] args) throws IOException
IOExceptionprotected void warning(String msg)
warning in class BaseSchemaResourceManagerprotected boolean fileExists(String filename)
fileExists in class BaseSchemaResourceManagerprotected InputStream inputStreamForFile(String filename) throws IOException
inputStreamForFile in class BaseSchemaResourceManagerIOExceptionprotected void writeInputStreamToFile(InputStream input, String filename) throws IOException
writeInputStreamToFile in class BaseSchemaResourceManagerIOExceptionprotected void deleteFile(String filename)
deleteFile in class BaseSchemaResourceManagerprotected String[] getAllXSDFilenames()
getAllXSDFilenames in class BaseSchemaResourceManager