org.jpedal.pdf.plugins.eclipse.settings
Class PDFSettings
java.lang.Object
org.jpedal.pdf.plugins.eclipse.settings.PDFSettings
public class PDFSettings
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATH
public static final int PATH
- 3 types of info stored
- See Also:
- Constant Field Values
DESCRIPTION
public static final int DESCRIPTION
- See Also:
- Constant Field Values
CACHEDFILE
public static final int CACHEDFILE
- See Also:
- Constant Field Values
checkForUpdates
public static boolean checkForUpdates
versionTested
public static java.lang.String versionTested
version
public static final java.lang.String version
- See Also:
- Constant Field Values
PDFSettings
public PDFSettings()
checkForUpdates
public static boolean checkForUpdates(java.lang.String availableVersion)
- returns true if new version found
- Parameters:
availableVersion
-
- Returns:
getFileCount
public int getFileCount()
resetValuesToDefaultValues
public static void resetValuesToDefaultValues()
saveValuesInEclipse
public static void saveValuesInEclipse()
getValue
public java.lang.String getValue(int id,
int type)
getValues
public static java.lang.String[] getValues(int type)
setValue
public void setValue(int id,
java.lang.String newValue,
int type)
getCategories
public int[] getCategories()
getCategoryName
public java.lang.String getCategoryName(int id)
resetValues
public void resetValues(java.lang.String[] newFiles,
java.lang.String[] newDescription,
java.lang.String[] newCache)
addPDFFile
public void addPDFFile(java.lang.String fileName,
java.lang.String fileDescription,
java.lang.String cachePath)
deletePDFFile
public boolean deletePDFFile(java.lang.String fileName)
- returns true if match found
- Parameters:
fileName
-
- Returns: