com.croftsoft.core.jnlp
Class JnlpServicesImpl
java.lang.Object
com.croftsoft.core.jnlp.JnlpServicesImpl
- All Implemented Interfaces:
- JnlpServices
public final class JnlpServicesImpl
- extends Object
- implements JnlpServices
JNLP Services.
- Since:
- 2002-12-21
- Version:
- $Date: 2008/04/19 21:27:13 $
- Author:
- David Wallace Croft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JnlpServicesImpl
public JnlpServicesImpl()
createFileContentsURL
public URL createFileContentsURL(String fileContentsSpec)
throws MalformedURLException,
UnsupportedOperationException
- Specified by:
createFileContentsURL
in interface JnlpServices
- Throws:
MalformedURLException
UnsupportedOperationException
getCodeBase
public URL getCodeBase()
throws UnsupportedOperationException
- Specified by:
getCodeBase
in interface JnlpServices
- Throws:
UnsupportedOperationException
loadBytesUsingPersistenceService
public byte[] loadBytesUsingPersistenceService(String fileContentsSpec)
throws IOException,
UnsupportedOperationException
- Loads a byte array.
- Specified by:
loadBytesUsingPersistenceService
in interface JnlpServices
- Throws:
IOException
UnsupportedOperationException
loadSerializableUsingPersistenceService
public Serializable loadSerializableUsingPersistenceService(String fileContentsSpec)
throws ClassNotFoundException,
IOException,
UnsupportedOperationException
- Loads GZIP compressed data.
- Specified by:
loadSerializableUsingPersistenceService
in interface JnlpServices
- Throws:
ClassNotFoundException
IOException
UnsupportedOperationException
saveBytesUsingPersistenceService
public void saveBytesUsingPersistenceService(String fileContentsSpec,
byte[] bytes)
throws IOException,
UnsupportedOperationException
- Specified by:
saveBytesUsingPersistenceService
in interface JnlpServices
- Throws:
IOException
UnsupportedOperationException
saveSerializableUsingPersistenceService
public void saveSerializableUsingPersistenceService(String fileContentsSpec,
Serializable serializable)
throws IOException,
UnsupportedOperationException
- Saves data using GZIP compression.
- Specified by:
saveSerializableUsingPersistenceService
in interface JnlpServices
- Throws:
IOException
UnsupportedOperationException
showDocument
public boolean showDocument(URL url)
throws UnsupportedOperationException
- Specified by:
showDocument
in interface JnlpServices
- Throws:
UnsupportedOperationException
CroftSoft Core Javadoc (2008-09-28 20:58:02)