|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xmlbeans.impl.tool.SchemaImportResolver
org.apache.xmlbeans.impl.tool.BaseSchemaResourceManager
org.apache.xmlbeans.impl.tool.SchemaResourceManager
public class SchemaResourceManager
| Constructor Summary | |
|---|---|
SchemaResourceManager(java.io.File directory)
|
|
| Method Summary | |
|---|---|
protected void |
deleteFile(java.lang.String filename)
Deletes a file. |
protected boolean |
fileExists(java.lang.String filename)
Returns true if the given filename exists. |
protected java.lang.String[] |
getAllXSDFilenames()
Returns a list of all the XSD filesnames in the project. |
protected java.io.InputStream |
inputStreamForFile(java.lang.String filename)
Gets the data in the given filename as an InputStream. |
static void |
main(java.lang.String[] args)
|
static void |
printUsage()
|
protected void |
warning(java.lang.String msg)
Sends messages to System.out. |
protected void |
writeInputStreamToFile(java.io.InputStream input,
java.lang.String filename)
Writes an entire file in one step. |
| Methods inherited from class org.apache.xmlbeans.impl.tool.BaseSchemaResourceManager |
|---|
getDefaultSchemaDir, getIndexFilename, init, lookupResource, process, processAll, reportActualNamespace, syncCacheWithLocalXsdFiles, writeCache |
| Methods inherited from class org.apache.xmlbeans.impl.tool.SchemaImportResolver |
|---|
resolveImports |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SchemaResourceManager(java.io.File directory)
| Method Detail |
|---|
public static void printUsage()
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOExceptionprotected void warning(java.lang.String msg)
warning in class BaseSchemaResourceManagerprotected boolean fileExists(java.lang.String filename)
fileExists in class BaseSchemaResourceManager
protected java.io.InputStream inputStreamForFile(java.lang.String filename)
throws java.io.IOException
inputStreamForFile in class BaseSchemaResourceManagerjava.io.IOException
protected void writeInputStreamToFile(java.io.InputStream input,
java.lang.String filename)
throws java.io.IOException
writeInputStreamToFile in class BaseSchemaResourceManagerjava.io.IOExceptionprotected void deleteFile(java.lang.String filename)
deleteFile in class BaseSchemaResourceManagerprotected java.lang.String[] getAllXSDFilenames()
getAllXSDFilenames in class BaseSchemaResourceManager
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||