com.jp.protection.priv.pro.ls
Class JarModifiableLauncherConfigStorage

java.lang.Object
  extended by com.jp.protection.pub.pro.ls.BasicLauncherConfigStorage
      extended by com.jp.protection.pub.pro.ls.JarLauncherConfigStorage
          extended by com.jp.protection.priv.pro.ls.JarModifiableLauncherConfigStorage
All Implemented Interfaces:
ModifiableLauncherConfigStorage, LauncherConfigStorage

public class JarModifiableLauncherConfigStorage
extends JarLauncherConfigStorage
implements ModifiableLauncherConfigStorage


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jp.protection.pub.pro.ls.BasicLauncherConfigStorage
BasicLauncherConfigStorage.EntryLicenseReader, BasicLauncherConfigStorage.EntryProtectionLauncher
 
Field Summary
 
Fields inherited from class com.jp.protection.pub.pro.ls.JarLauncherConfigStorage
EXTENSION_LAUNCHER_CONFIG, ROOT_LAUNCHER_CONFIGS
 
Fields inherited from class com.jp.protection.pub.pro.ls.BasicLauncherConfigStorage
fLauncherConfigs, fModified
 
Constructor Summary
JarModifiableLauncherConfigStorage()
           
 
Method Summary
protected  void addJarEntry(java.util.jar.JarOutputStream jarOutputStream, java.io.InputStream anInputStream, java.lang.String anEntryName)
           
 boolean isModified()
           
 void removeLauncherConfig(ProtectionLauncherConfig aLauncherConfig)
           
protected  void saveLauncherConfigs(java.util.jar.JarOutputStream jarOutputStream, ProtectionLauncherConfigWriter aWriter)
           
 void store(java.io.File aFile, ProtectionLauncherConfigWriter aWriter)
           
 void store(java.io.OutputStream anOutputStream, ProtectionLauncherConfigWriter aWriter)
           
 
Methods inherited from class com.jp.protection.pub.pro.ls.JarLauncherConfigStorage
getInputStream, getJarEntryName, load, load, loadLauncherConfig
 
Methods inherited from class com.jp.protection.pub.pro.ls.BasicLauncherConfigStorage
addLauncherConfig, addLauncherConfigStorageListener, createLauncher, fireLauncherConfigAdded, fireLauncherConfigRemoved, fireLauncherConfigStorageLoaded, fireLauncherConfigStorageSaved, getLauncher, getLauncherConfig, getLauncherConfig, getLauncherConfig, getLauncherConfigs, getLicenseFileLocation, getLicenseReader, removeLauncherConfigStorageListener, setModified, updateLicenseEntryProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jp.protection.priv.pro.ls.ModifiableLauncherConfigStorage
setModified
 
Methods inherited from interface com.jp.protection.pub.pro.ls.LauncherConfigStorage
addLauncherConfig, addLauncherConfigStorageListener, getLauncher, getLauncherConfig, getLauncherConfig, getLauncherConfigs, getLicenseReader, load, removeLauncherConfigStorageListener
 

Constructor Detail

JarModifiableLauncherConfigStorage

public JarModifiableLauncherConfigStorage()
Method Detail

store

public void store(java.io.OutputStream anOutputStream,
                  ProtectionLauncherConfigWriter aWriter)
           throws java.io.IOException
Specified by:
store in interface ModifiableLauncherConfigStorage
Throws:
java.io.IOException

store

public void store(java.io.File aFile,
                  ProtectionLauncherConfigWriter aWriter)
           throws java.io.IOException
Throws:
java.io.IOException

saveLauncherConfigs

protected void saveLauncherConfigs(java.util.jar.JarOutputStream jarOutputStream,
                                   ProtectionLauncherConfigWriter aWriter)
                            throws java.io.IOException
Throws:
java.io.IOException

addJarEntry

protected void addJarEntry(java.util.jar.JarOutputStream jarOutputStream,
                           java.io.InputStream anInputStream,
                           java.lang.String anEntryName)
                    throws java.io.IOException
Throws:
java.io.IOException

removeLauncherConfig

public void removeLauncherConfig(ProtectionLauncherConfig aLauncherConfig)
Specified by:
removeLauncherConfig in interface ModifiableLauncherConfigStorage

isModified

public boolean isModified()
Specified by:
isModified in interface ModifiableLauncherConfigStorage