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, writeCache
resolveImports
public SchemaResourceManager(File directory)
public static void printUsage()
public static void main(String[] args) throws IOException
IOException
protected void warning(String msg)
warning
in class BaseSchemaResourceManager
protected boolean fileExists(String filename)
fileExists
in class BaseSchemaResourceManager
protected InputStream inputStreamForFile(String filename) throws IOException
inputStreamForFile
in class BaseSchemaResourceManager
IOException
protected void writeInputStreamToFile(InputStream input, String filename) throws IOException
writeInputStreamToFile
in class BaseSchemaResourceManager
IOException
protected void deleteFile(String filename)
deleteFile
in class BaseSchemaResourceManager
protected String[] getAllXSDFilenames()
getAllXSDFilenames
in class BaseSchemaResourceManager