|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.IdvResourceManager.IdvResource
public static class IdvResourceManager.IdvResource
Class IdvResource holds the resources files for a particular type of resource
| Field Summary | |
|---|---|
protected List |
extraPaths
Extra paths we add on for plugin |
protected String |
fileNamePattern
The pattern to match on files |
protected Pattern |
pattern
Keep the file name pattern around. |
| Constructor Summary | |
|---|---|
IdvResourceManager.IdvResource(String id)
Create the object with the given id |
|
IdvResourceManager.IdvResource(String id,
String description)
Create the object with the given id and description |
|
IdvResourceManager.IdvResource(String id,
String description,
String fileNamePattern)
Create the object with the given id, description and edit command |
|
IdvResourceManager.IdvResource(String id,
String description,
String fileNamePattern,
boolean isUser)
Create an IdvResource |
|
IdvResourceManager.IdvResource(String id,
String description,
String fileNamePattern,
boolean isXml,
boolean forUser)
Create the object with the given id, description and edit command If isXml is true then this is an xml resource |
|
| Method Summary | |
|---|---|
void |
addExtraPath(String path)
Add the extra path |
String |
getDescription()
Get the description |
String |
getId()
Get the id |
Pattern |
getPattern()
Create, if needed, and return the file pattern |
ResourceCollection |
initResourceCollection(IdvResourceManager resourceManager)
Create the actual ResourceCollection |
String |
toString()
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List extraPaths
protected String fileNamePattern
protected Pattern pattern
| Constructor Detail |
|---|
public IdvResourceManager.IdvResource(String id)
id - The id (e.g., idv.resource.colortables)
public IdvResourceManager.IdvResource(String id,
String description)
id - The id (e.g., idv.resource.colortables)description - The description
public IdvResourceManager.IdvResource(String id,
String description,
String fileNamePattern)
id - The id (e.g., idv.resource.colortables)description - The descriptionfileNamePattern - The pattern to match
public IdvResourceManager.IdvResource(String id,
String description,
String fileNamePattern,
boolean isUser)
id - the iddescription - a descriptionfileNamePattern - the file name patternisUser - true if this is a use pattern
public IdvResourceManager.IdvResource(String id,
String description,
String fileNamePattern,
boolean isXml,
boolean forUser)
id - The id (e.g., idv.resource.colortables)description - The descriptionfileNamePattern - patternisXml - Flag to denote if this is an xml resourceforUser - flat to denote if this is for the user| Method Detail |
|---|
public String getId()
public String getDescription()
public Pattern getPattern()
public ResourceCollection initResourceCollection(IdvResourceManager resourceManager)
ResourceCollection
resourceManager - The manager that really creates the collection
public void addExtraPath(String path)
path - extra pathpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||