com.croftsoft.core.jnlp
Class JnlpServicesImpl

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface com.croftsoft.core.jnlp.JnlpServices
IMPL_CLASS_NAME
 
Constructor Summary
JnlpServicesImpl()
           
 
Method Summary
 URL createFileContentsURL(String fileContentsSpec)
           
 URL getCodeBase()
           
 byte[] loadBytesUsingPersistenceService(String fileContentsSpec)
          Loads a byte array.
 Serializable loadSerializableUsingPersistenceService(String fileContentsSpec)
          Loads GZIP compressed data.
 void saveBytesUsingPersistenceService(String fileContentsSpec, byte[] bytes)
           
 void saveSerializableUsingPersistenceService(String fileContentsSpec, Serializable serializable)
          Saves data using GZIP compression.
 boolean showDocument(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JnlpServicesImpl

public JnlpServicesImpl()
Method Detail

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 Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)