com.metsci.glimpse.dspl.parser.util
Class DsplCacheHelper
java.lang.Object
com.metsci.glimpse.dspl.parser.util.DsplCacheHelper
public class DsplCacheHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final java.util.logging.Logger logger
CACHE_ROOT
public static final java.lang.String CACHE_ROOT
- See Also:
- Constant Field Values
CACHE_FILE
public static final java.lang.String CACHE_FILE
- See Also:
- Constant Field Values
CACHE_FORMAT
public static final java.lang.String CACHE_FORMAT
- See Also:
- Constant Field Values
HASH_FILE
public static final java.lang.String HASH_FILE
- See Also:
- Constant Field Values
DsplCacheHelper
public DsplCacheHelper()
getTableData
public static PropertyTableData getTableData(Concept concept)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
getTableData
public static SliceTableData getTableData(Slice slice)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
getCacheDirectory
public static java.io.File getCacheDirectory(Concept concept)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
getCacheDirectory
public static java.io.File getCacheDirectory(Slice slice)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
getCacheFile
public static java.io.File getCacheFile(Concept concept)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException,
java.security.NoSuchAlgorithmException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
java.security.NoSuchAlgorithmException
getCacheFile
public static java.io.File getCacheFile(Slice slice)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException,
java.security.NoSuchAlgorithmException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
java.security.NoSuchAlgorithmException
getCalculatedHash
public static java.lang.String getCalculatedHash(Slice slice)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException,
java.security.NoSuchAlgorithmException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
java.security.NoSuchAlgorithmException
getCalculatedHash
public static java.lang.String getCalculatedHash(Concept concept)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException,
java.security.NoSuchAlgorithmException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
java.security.NoSuchAlgorithmException
getCachedHash
public static java.lang.String getCachedHash(Slice slice)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
getCachedHash
public static java.lang.String getCachedHash(Concept concept)
throws DsplException,
javax.xml.bind.JAXBException,
java.io.IOException
- Throws:
DsplException
javax.xml.bind.JAXBException
java.io.IOException
writeHash
public static void writeHash(Concept concept,
java.lang.String hash)
throws java.io.IOException,
DsplException,
java.security.NoSuchAlgorithmException,
javax.xml.bind.JAXBException
- Throws:
java.io.IOException
DsplException
java.security.NoSuchAlgorithmException
javax.xml.bind.JAXBException
writeHash
public static void writeHash(Slice slice,
java.lang.String hash)
throws java.io.IOException,
DsplException,
java.security.NoSuchAlgorithmException,
javax.xml.bind.JAXBException
- Throws:
java.io.IOException
DsplException
java.security.NoSuchAlgorithmException
javax.xml.bind.JAXBException
writeHash
public static void writeHash(java.io.File directory,
java.lang.String hash)
throws java.io.IOException,
DsplException,
java.security.NoSuchAlgorithmException,
javax.xml.bind.JAXBException
- Throws:
java.io.IOException
DsplException
java.security.NoSuchAlgorithmException
javax.xml.bind.JAXBException
Copyright © 2012 Metron, Inc.. All Rights Reserved.