|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.rse.core.filters.SystemFilterNamingPolicy
A naming policy so tool writers can override defaults used when saving filter data to disk.
Subclass this and override what you wish to change.
| Field Summary | |
|---|---|
static String |
DEFAULT_FILENAME_PREFIX_FILTER
Default prefix for filter persisted file: "filter_" |
static String |
DEFAULT_FILENAME_PREFIX_FILTERPOOL
Default prefix for filter pool persisted file: "filterPool_" |
static String |
DEFAULT_FILENAME_PREFIX_FILTERPOOLMANAGER
Default prefix for filter pool manager persisted file: "filterPools_" |
static String |
DEFAULT_FILENAME_PREFIX_FILTERPOOLREFERENCEMANAGER
Default prefix for filter pool reference manager persisted file: "filterPoolRefs_" |
static String |
DEFAULT_FOLDERNAME_PREFIX_FILTERPOOL
Default prefix for filter pool folder: "FilterPool_" |
protected String |
filterFileNamePrefix
|
protected String |
managerFileNamePrefix
|
protected String |
poolFileNamePrefix
|
protected String |
poolFolderNamePrefix
|
protected String |
poolFolderNameSuffix
|
protected String |
referenceManagerFileNamePrefix
|
| Fields inherited from interface org.eclipse.rse.core.filters.ISystemFilterConstants |
|---|
DEFAULT_TYPE, SAVEFILE_SUFFIX, TRY_TO_RESTORE_NO, TRY_TO_RESTORE_YES |
| Fields inherited from interface org.eclipse.rse.core.filters.ISystemFilterSavePolicies |
|---|
SAVE_POLICY_NONE, SAVE_POLICY_ONE_FILE_PER_FILTER, SAVE_POLICY_ONE_FILE_PER_MANAGER, SAVE_POLICY_ONE_FILE_PER_POOL_SAME_FOLDER, SAVE_POLICY_ONE_FILEANDFOLDER_PER_POOL |
| Constructor Summary | |
|---|---|
SystemFilterNamingPolicy()
Constructor for SystemFilterNamingPolicyImpl |
|
| Method Summary | |
|---|---|
String |
getFilterPoolFolderName(String poolName)
Get the folder name for the given SystemFilterPool object. |
String |
getFilterPoolFolderNamePrefix()
Get the folder name prefix for all pool folders. |
String |
getFilterPoolSaveFileName(String poolName)
Get the unqualified save file name for the given SystemFilterPool object. |
String |
getFilterPoolSaveFileNamePrefix()
Get the file name prefix for all pool files. |
String |
getFilterSaveFileName(String filterName)
Get the unqualified save file name for the given SystemFilter object. |
String |
getFilterSaveFileNamePrefix()
Get the file name prefix for all filter files. |
String |
getManagerSaveFileName(String managerName)
Get the unqualified save file name for the given SystemFilterPoolManager object. |
static IRSEFilterNamingPolicy |
getNamingPolicy()
Factory method to return an instance populated with defaults. |
String |
getReferenceManagerSaveFileName(String managerName)
Get the unqualified save file name for the given SystemFilterPoolReferenceManager object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String managerFileNamePrefix
protected String poolFolderNamePrefix
protected String poolFolderNameSuffix
protected String poolFileNamePrefix
protected String filterFileNamePrefix
protected String referenceManagerFileNamePrefix
public static final String DEFAULT_FILENAME_PREFIX_FILTERPOOLMANAGER
public static final String DEFAULT_FILENAME_PREFIX_FILTERPOOLREFERENCEMANAGER
public static final String DEFAULT_FILENAME_PREFIX_FILTERPOOL
public static final String DEFAULT_FILENAME_PREFIX_FILTER
public static final String DEFAULT_FOLDERNAME_PREFIX_FILTERPOOL
| Constructor Detail |
public SystemFilterNamingPolicy()
| Method Detail |
public static IRSEFilterNamingPolicy getNamingPolicy()
public String getManagerSaveFileName(String managerName)
Returns "filterPools_"+managerName by default.
getManagerSaveFileName in interface IRSEFilterNamingPolicypublic String getReferenceManagerSaveFileName(String managerName)
Returns "filterPoolRefs_"+managerName by default.
getReferenceManagerSaveFileName in interface IRSEFilterNamingPolicypublic String getFilterPoolSaveFileName(String poolName)
Returns getFilterPoolSaveFileNamePrefix()+poolName by default.
getFilterPoolSaveFileName in interface IRSEFilterNamingPolicypublic String getFilterPoolSaveFileNamePrefix()
By default returns "filterPool_"
getFilterPoolSaveFileNamePrefix in interface IRSEFilterNamingPolicypublic String getFilterPoolFolderName(String poolName)
Returns getFilterPoolFolderNamePrefix()+poolName by default.
getFilterPoolFolderName in interface IRSEFilterNamingPolicypublic String getFilterPoolFolderNamePrefix()
By default returns "FilterPool_"
getFilterPoolFolderNamePrefix in interface IRSEFilterNamingPolicypublic String getFilterSaveFileName(String filterName)
Returns getFilterSaveFileNamePrefix()+filterName by default.
getFilterSaveFileName in interface IRSEFilterNamingPolicypublic String getFilterSaveFileNamePrefix()
Returns "Filter_" by default.
getFilterSaveFileNamePrefix in interface IRSEFilterNamingPolicy
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||