jnlpservices.java

来自「CroftSoft Code Library是一个开源的可移植的纯Java游戏库」· Java 代码 · 共 59 行

JAVA
59
字号
     package com.croftsoft.core.jnlp;

     import java.io.*;
     import java.net.*;

     /*********************************************************************
     * Interface for JnlpServicesImpl.
     *
     * @version
     *   2002-12-22
     * @since
     *   2002-12-21
     * @author
     *   <a href="http://www.croftsoft.com/">David Wallace Croft</a>
     *********************************************************************/

     public interface  JnlpServices
     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////
     {

     public static final String  IMPL_CLASS_NAME
       = "com.croftsoft.core.jnlp.JnlpServicesImpl";

     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////

     public URL  createFileContentsURL ( String  fileContentsSpec )
       throws MalformedURLException, UnsupportedOperationException;

     public URL  getCodeBase ( )
       throws UnsupportedOperationException;

     public byte [ ]  loadBytesUsingPersistenceService (
       String  fileContentsSpec )
       throws IOException, UnsupportedOperationException;

     public Serializable  loadSerializableUsingPersistenceService (
       String  fileContentsSpec )
       throws ClassNotFoundException, IOException,
         UnsupportedOperationException;

     public void  saveBytesUsingPersistenceService (
       String    fileContentsSpec,
       byte [ ]  bytes )
       throws IOException, UnsupportedOperationException;

     public void  saveSerializableUsingPersistenceService (
       String        fileContentsSpec,
       Serializable  serializable )
       throws IOException, UnsupportedOperationException;

     public boolean  showDocument ( URL  url )
       throws UnsupportedOperationException;

     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////
     }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?