ProgramixGenericLib v5.0.1

com.programix.jnlp
Class JNLPTools

java.lang.Object
  extended by com.programix.jnlp.JNLPTools

public class JNLPTools
extends Object


Nested Class Summary
static class JNLPTools.UnavailableException
          Thrown when a JNLP service can not be loaded.
 
Field Summary
static String BASIC_SERVICE_CLASSNAME
           
static String CLIPBOARD_SERVICE_CLASSNAME
           
static String FILE_OPEN_SERVICE_CLASSNAME
           
static String FILE_SAVE_SERVICE_CLASSNAME
           
static String PERSISTENCE_SERVICE_CLASSNAME
           
static String PRINT_SERVICE_CLASSNAME
           
 
Method Summary
static javax.jnlp.BasicService getBasicService()
           
static javax.jnlp.ClipboardService getClipboardService()
           
static javax.jnlp.FileOpenService getFileOpenService()
           
static javax.jnlp.FileSaveService getFileSaveService()
           
static javax.jnlp.PersistenceService getPersistenceService()
           
static javax.jnlp.PrintService getPrintService()
           
static boolean isBasicServiceAvailable()
           
static boolean isClipboardServiceAvailable()
           
static boolean isFileOpenServiceAvailable()
           
static boolean isFileSaveServiceAvailable()
           
static boolean isPersistenceServiceAvailable()
           
static boolean isPrintServiceAvailable()
           
static boolean wasAppLaunchedByJNLP()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASIC_SERVICE_CLASSNAME

public static final String BASIC_SERVICE_CLASSNAME
See Also:
Constant Field Values

CLIPBOARD_SERVICE_CLASSNAME

public static final String CLIPBOARD_SERVICE_CLASSNAME
See Also:
Constant Field Values

FILE_OPEN_SERVICE_CLASSNAME

public static final String FILE_OPEN_SERVICE_CLASSNAME
See Also:
Constant Field Values

FILE_SAVE_SERVICE_CLASSNAME

public static final String FILE_SAVE_SERVICE_CLASSNAME
See Also:
Constant Field Values

PERSISTENCE_SERVICE_CLASSNAME

public static final String PERSISTENCE_SERVICE_CLASSNAME
See Also:
Constant Field Values

PRINT_SERVICE_CLASSNAME

public static final String PRINT_SERVICE_CLASSNAME
See Also:
Constant Field Values
Method Detail

wasAppLaunchedByJNLP

public static boolean wasAppLaunchedByJNLP()

isBasicServiceAvailable

public static boolean isBasicServiceAvailable()

getBasicService

public static javax.jnlp.BasicService getBasicService()
                                               throws JNLPTools.UnavailableException
Throws:
JNLPTools.UnavailableException

isClipboardServiceAvailable

public static boolean isClipboardServiceAvailable()

getClipboardService

public static javax.jnlp.ClipboardService getClipboardService()
                                                       throws JNLPTools.UnavailableException
Throws:
JNLPTools.UnavailableException

isFileOpenServiceAvailable

public static boolean isFileOpenServiceAvailable()

getFileOpenService

public static javax.jnlp.FileOpenService getFileOpenService()
                                                     throws JNLPTools.UnavailableException
Throws:
JNLPTools.UnavailableException

isFileSaveServiceAvailable

public static boolean isFileSaveServiceAvailable()

getFileSaveService

public static javax.jnlp.FileSaveService getFileSaveService()
                                                     throws JNLPTools.UnavailableException
Throws:
JNLPTools.UnavailableException

isPersistenceServiceAvailable

public static boolean isPersistenceServiceAvailable()

getPersistenceService

public static javax.jnlp.PersistenceService getPersistenceService()
                                                           throws JNLPTools.UnavailableException
Throws:
JNLPTools.UnavailableException

isPrintServiceAvailable

public static boolean isPrintServiceAvailable()

getPrintService

public static javax.jnlp.PrintService getPrintService()
                                               throws JNLPTools.UnavailableException
Throws:
JNLPTools.UnavailableException

ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.