|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.module.ModuleDefinitionContent
sun.module.repository.URLModuleDefinitionContent
public class URLModuleDefinitionContent
This ModuleDefinitionContent downloads the JAM for a
ModuleDefinition when that actual content is required.
| Method Summary | |
|---|---|
protected static File[] |
findFiles(File parent,
String directory,
FilenameFilter filter)
|
CodeSource |
getCodeSource()
Returns the code source associated with the module definition. |
InputStream |
getEntryAsStream(String name)
Returns an entry in the module definition as an input stream. |
List<String> |
getEntryNames()
Returns the list of the names of the entries in the module definition. |
File |
getNativeLibrary(String libraryName)
Returns the path of the native library associated with the module definition. |
boolean |
hasEntry(String name)
Checks if an entry exists in the module definition. |
| Methods inherited from class java.module.ModuleDefinitionContent |
|---|
getEntryAsByteArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected static File[] findFiles(File parent,
String directory,
FilenameFilter filter)
public File getNativeLibrary(String libraryName)
ModuleDefinitionContent
getNativeLibrary in class ModuleDefinitionContentlibraryName - the library name.
public boolean hasEntry(String name)
ModuleDefinitionContentThe entry's name is specified as '/' separated paths, with no leading '/'.
hasEntry in class ModuleDefinitionContentname - entry's name.
public List<String> getEntryNames()
ModuleDefinitionContentEach entry's name is in the form of '/' separated paths, with no leading '/'.
getEntryNames in class ModuleDefinitionContent
public InputStream getEntryAsStream(String name)
throws IOException
ModuleDefinitionContentThe entry's name is specified as '/' separated paths, with no leading '/'.
getEntryAsStream in class ModuleDefinitionContentname - entry's name.
IOException - if an I/O error occurs.public CodeSource getCodeSource()
ModuleDefinitionContent
getCodeSource in class ModuleDefinitionContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||