com.croftsoft.core.jnlp
Class JnlpLib

java.lang.Object
  extended by com.croftsoft.core.jnlp.JnlpLib

public final class JnlpLib
extends Object

Static library methods for JNLP.

Since:
2002-12-22
Version:
2002-12-22
Author:
David Wallace Croft

Field Summary
static JnlpServices JNLP_SERVICES
           
 
Method Summary
static URL createFileContentsURL(String fileContentsSpec)
           
static URL getCodeBase()
           
static byte[] loadBytesUsingPersistenceService(String fileContentsSpec)
           
static Serializable loadSerializableUsingPersistenceService(String fileContentsSpec)
           
static void saveBytesUsingPersistenceService(String fileContentsSpec, byte[] bytes)
           
static void saveSerializableUsingPersistenceService(String fileContentsSpec, Serializable serializable)
           
static boolean showDocument(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNLP_SERVICES

public static final JnlpServices JNLP_SERVICES
Method Detail

createFileContentsURL

public static URL createFileContentsURL(String fileContentsSpec)
                                 throws MalformedURLException,
                                        UnsupportedOperationException
Throws:
MalformedURLException
UnsupportedOperationException

getCodeBase

public static URL getCodeBase()
                       throws UnsupportedOperationException
Throws:
UnsupportedOperationException

loadBytesUsingPersistenceService

public static byte[] loadBytesUsingPersistenceService(String fileContentsSpec)
                                               throws IOException,
                                                      UnsupportedOperationException
Throws:
IOException
UnsupportedOperationException

loadSerializableUsingPersistenceService

public static Serializable loadSerializableUsingPersistenceService(String fileContentsSpec)
                                                            throws ClassNotFoundException,
                                                                   IOException,
                                                                   UnsupportedOperationException
Throws:
ClassNotFoundException
IOException
UnsupportedOperationException

saveBytesUsingPersistenceService

public static void saveBytesUsingPersistenceService(String fileContentsSpec,
                                                    byte[] bytes)
                                             throws IOException,
                                                    UnsupportedOperationException
Throws:
IOException
UnsupportedOperationException

saveSerializableUsingPersistenceService

public static void saveSerializableUsingPersistenceService(String fileContentsSpec,
                                                           Serializable serializable)
                                                    throws IOException,
                                                           UnsupportedOperationException
Throws:
IOException
UnsupportedOperationException

showDocument

public static boolean showDocument(URL url)
                            throws UnsupportedOperationException
Throws:
UnsupportedOperationException

CroftSoft Javadoc

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