main/main.jar
.version
OneJar.class
OneJar.java package public OneJar extends java.lang.Object { public void <init> () public static void main (java.lang.String[]) throws java.lang.Exception String[] args public void run (java.lang.String[]) throws java.lang.Exception String[] args }
com/simontuffs/onejar/Boot$1.class
Boot.java package com.simontuffs.onejar final com.simontuffs.onejar.Boot$1 extends java.lang.Object implements java.security.PrivilegedAction { private final String val$loader void <init> (java.lang.String) public java.lang.Object run () Class cls java.lang.reflect.Constructor ctor Exception x }
com/simontuffs/onejar/Boot$2.class
Boot.java package com.simontuffs.onejar final com.simontuffs.onejar.Boot$2 extends java.lang.Object implements java.security.PrivilegedAction { private final String val$loader void <init> (java.lang.String) public java.lang.Object run () Class cls java.lang.reflect.Constructor ctor Exception x }
com/simontuffs/onejar/Boot$3.class
Boot.java package com.simontuffs.onejar final com.simontuffs.onejar.Boot$3 extends java.lang.Object implements java.security.PrivilegedAction { private final ClassLoader val$bootLoader private final String val$wrapLoader void <init> (java.lang.ClassLoader, java.lang.String) public java.lang.Object run () Class jarLoaderClass java.lang.reflect.Constructor ctor Throwable t }
com/simontuffs/onejar/Boot.class
Boot.java package com.simontuffs.onejar public com.simontuffs.onejar.Boot extends java.lang.Object { public static final String BOOT_CLASS public static final String ONE_JAR_CLASSLOADER public static final String ONE_JAR_MAIN_CLASS public static final String ONE_JAR_DEFAULT_MAIN_JAR public static final String ONE_JAR_MAIN_ARGS public static final String ONE_JAR_URL_FACTORY public static final String MANIFEST public static final String MAIN_JAR public static final String WRAP_CLASS_LOADER public static final String WRAP_DIR public static final String WRAP_JAR public static final String PROPERTY_PREFIX public static final String P_MAIN_CLASS public static final String P_MAIN_JAR public static final String P_MAIN_APP public static final String P_RECORD public static final String P_JARNAMES public static final String P_VERBOSE public static final String P_INFO public static final String P_WARNING public static final String P_STATISTICS public static final String P_SHOW_PROPERTIES public static final String P_JARPATH public static final String P_ONE_JAR_CLASS_PATH public static final String P_JAVA_CLASS_PATH public static final String P_PATH_SEPARATOR public static final String P_EXPAND_DIR public static final String A_HELP public static final String A_VERSION public static final String[] HELP_PROPERTIES public static final String[] HELP_ARGUMENTS protected static String mainJar protected static boolean warning protected static boolean info protected static boolean verbose protected static boolean statistics protected static String myJarPath protected static long startTime protected static long endTime private static com.simontuffs.onejar.JarClassLoader loader static Class class$com$simontuffs$onejar$Boot static Class array$Ljava$lang$String static Class class$java$lang$String static Class class$com$simontuffs$onejar$JarClassLoader static Class class$java$lang$ClassLoader public void <init> () public static synchronized com.simontuffs.onejar.JarClassLoader getClassLoader () public static synchronized void setClassLoader (com.simontuffs.onejar.JarClassLoader) com.simontuffs.onejar.JarClassLoader $loader protected static void VERBOSE (java.lang.String) String message protected static void WARNING (java.lang.String) String message protected static void INFO (java.lang.String) String message protected static void PRINTLN (java.lang.String) String message public static void main (java.lang.String[]) throws java.lang.Exception String[] args public static void run (java.lang.String[]) throws java.lang.Exception String name java.util.Properties properties String props java.io.InputStream is java.util.Enumeration _enum String key int i java.util.Properties props String[] keys String app int i java.util.jar.JarInputStream jis java.util.jar.Manifest mainmanifest java.io.InputStream is com.simontuffs.onejar.JarClassLoader wrapped java.util.jar.JarInputStream jis String wrapLoader com.simontuffs.onejar.JarClassLoader bootLoader java.io.InputStream is String bootClass Class cls java.lang.reflect.Method main String[] args String mainClass String jar java.util.jar.JarFile jarFile java.util.jar.Manifest manifest java.util.jar.Attributes attributes String bootLoaderName String mainargs java.net.URL url String urlfactory public static void showTime () long endtime public static void setProperties (com.simontuffs.onejar.IProperties) com.simontuffs.onejar.IProperties jarloader public static boolean getProperty (java.lang.String, java.lang.String) String key String $default public static java.lang.String getMyJarName () String name int last public static java.lang.String getMyJarPath () java.io.IOException iox java.net.MalformedURLException mux java.io.InputStream is java.util.zip.ZipEntry entry int i String jarname String[] jars Exception x public static java.util.jar.JarEntry findJarEntry (java.util.jar.JarInputStream, java.lang.String) throws java.io.IOException java.util.jar.JarInputStream jis String name java.util.jar.JarEntry entry public static java.util.zip.ZipEntry findZipEntry (java.util.zip.ZipFile, java.lang.String) throws java.io.IOException java.util.zip.ZipEntry entry java.util.zip.ZipFile zip String name java.util.Enumeration entries public static int firstWidth (java.lang.String[]) int i String[] table int width public static java.lang.String pad (java.lang.String, java.lang.String, int) int i String indent String string int width StringBuffer buf public static java.lang.String wrap (java.lang.String, java.lang.String, int) String indent String string int width String padding public static java.lang.String[] processArgs (java.lang.String[]) throws java.lang.Exception int i int i int width java.io.BufferedReader br String version java.io.InputStream is String argument int a String[] args java.util.ArrayList list protected static com.simontuffs.onejar.JarClassLoader getBootLoader (java.lang.String) String loader com.simontuffs.onejar.JarClassLoader bootLoader protected static com.simontuffs.onejar.JarClassLoader getBootLoader (java.lang.String, java.lang.ClassLoader) String loader ClassLoader parent protected static com.simontuffs.onejar.JarClassLoader getWrapLoader (java.lang.ClassLoader, java.lang.String) ClassLoader bootLoader String wrapLoader public static long getEndTime () public static long getStartTime () static java.lang.Class class$ (java.lang.String) ClassNotFoundException x1 String x0 static void <clinit> () }
com/simontuffs/onejar/Handler$1.class
Handler.java package com.simontuffs.onejar com.simontuffs.onejar.Handler$1 extends java.net.URLConnection { private final String val$resource private final com.simontuffs.onejar.Handler this$0 void <init> (com.simontuffs.onejar.Handler, java.net.URL, java.lang.String) java.net.URL x0 public void connect () public java.lang.String getContentType () java.net.FileNameMap fileNameMap String contentType public java.io.InputStream getInputStream () throws java.io.IOException com.simontuffs.onejar.JarClassLoader cl java.io.InputStream is }
com/simontuffs/onejar/Handler.class
Handler.java package com.simontuffs.onejar public com.simontuffs.onejar.Handler extends java.net.URLStreamHandler { public static String PROTOCOL public void <init> () protected java.net.URLConnection openConnection (java.net.URL) throws java.io.IOException java.net.URL u String resource static void <clinit> () }
com/simontuffs/onejar/IProperties.class
IProperties.java package com.simontuffs.onejar public abstract com.simontuffs.onejar.IProperties extends java.lang.Object { public abstract void setVerbose (boolean) public abstract void setInfo (boolean) public abstract void setWarning (boolean) public abstract void setRecord (boolean) public abstract void setFlatten (boolean) public abstract void setRecording (java.lang.String) }
com/simontuffs/onejar/JarClassLoader$1.class
JarClassLoader.java package com.simontuffs.onejar com.simontuffs.onejar.JarClassLoader$1 extends java.net.URLClassLoader { static final String LOAD_CLASS static final String GET_RESOURCE static final String FIND_RESOURCE private final com.simontuffs.onejar.JarClassLoader this$0 void <init> (com.simontuffs.onejar.JarClassLoader, java.net.URL[], java.lang.ClassLoader) java.net.URL[] x0 ClassLoader x1 public java.lang.Class loadClass (java.lang.String) throws java.lang.ClassNotFoundException String name Object old public java.net.URL getResource (java.lang.String) String name Object old public java.net.URL findResource (java.lang.String) String name Object old protected boolean reentered (java.lang.String) String name Object old }
com/simontuffs/onejar/JarClassLoader$2.class
JarClassLoader.java package com.simontuffs.onejar com.simontuffs.onejar.JarClassLoader$2 extends java.lang.Object implements java.util.Enumeration { private final java.util.Iterator val$ri private final com.simontuffs.onejar.JarClassLoader this$0 void <init> (com.simontuffs.onejar.JarClassLoader, java.util.Iterator) public boolean hasMoreElements () public java.lang.Object nextElement () }
com/simontuffs/onejar/JarClassLoader$ByteCode.class
JarClassLoader.java package com.simontuffs.onejar public com.simontuffs.onejar.JarClassLoader$ByteCode extends java.lang.Object { public byte[] bytes public String name public String original public String codebase public java.util.jar.Manifest manifest public void <init> (java.lang.String, java.lang.String, java.io.ByteArrayOutputStream, java.lang.String, java.util.jar.Manifest) String $name String $original java.io.ByteArrayOutputStream baos String $codebase java.util.jar.Manifest $manifest }
com/simontuffs/onejar/JarClassLoader$FileURLFactory$1.class
JarClassLoader.java package com.simontuffs.onejar com.simontuffs.onejar.JarClassLoader$FileURLFactory$1 extends java.net.URLStreamHandler { private final com.simontuffs.onejar.JarClassLoader$FileURLFactory this$0 void <init> (com.simontuffs.onejar.JarClassLoader$FileURLFactory) protected java.net.URLConnection openConnection (java.net.URL) throws java.io.IOException java.net.URL url java.net.URLConnection connection }
com/simontuffs/onejar/JarClassLoader$FileURLFactory.class
JarClassLoader.java package com.simontuffs.onejar public com.simontuffs.onejar.JarClassLoader$FileURLFactory extends java.lang.Object implements com.simontuffs.onejar.JarClassLoader$IURLFactory { public java.net.URLStreamHandler jarHandler public void <init> () public java.net.URL getURL (java.lang.String, java.lang.String) throws java.net.MalformedURLException String codebase String resource String path java.net.URL url public java.net.URL getCodeBase (java.lang.String) throws java.net.MalformedURLException String jar java.security.ProtectionDomain cd java.net.URL url }
com/simontuffs/onejar/JarClassLoader$IURLFactory.class
JarClassLoader.java package com.simontuffs.onejar public abstract com.simontuffs.onejar.JarClassLoader$IURLFactory extends java.lang.Object { public abstract java.net.URL getURL (java.lang.String, java.lang.String) throws java.net.MalformedURLException public abstract java.net.URL getCodeBase (java.lang.String) throws java.net.MalformedURLException }
com/simontuffs/onejar/JarClassLoader$OneJarURLFactory.class
JarClassLoader.java package com.simontuffs.onejar public com.simontuffs.onejar.JarClassLoader$OneJarURLFactory extends java.lang.Object implements com.simontuffs.onejar.JarClassLoader$IURLFactory { public void <init> () public java.net.URL getURL (java.lang.String, java.lang.String) throws java.net.MalformedURLException String codebase String resource String base java.net.URL url public java.net.URL getCodeBase (java.lang.String) throws java.net.MalformedURLException String jar }
com/simontuffs/onejar/JarClassLoader.class
JarClassLoader.java package com.simontuffs.onejar public com.simontuffs.onejar.JarClassLoader extends java.lang.ClassLoader implements com.simontuffs.onejar.IProperties { public static final String LIB_PREFIX public static final String BINLIB_PREFIX public static final String MAIN_PREFIX public static final String RECORDING public static final String TMP public static final String UNPACK public static final String EXPAND public static final String EXPAND_DIR public static final String SHOW_EXPAND public static final String CONFIRM_EXPAND public static final String CLASS public static final String NL public static final String JAVA_PROTOCOL_HANDLER protected String name protected boolean noExpand protected boolean expanded protected ClassLoader externalClassLoader protected java.util.Map byteCode protected java.util.Map pdCache protected java.util.Map binLibPath protected java.util.Set jarNames protected boolean record protected boolean flatten protected boolean unpackFindResource protected boolean verbose protected boolean info protected boolean warning protected String recording protected String jarName protected String mainJar protected String wrapDir protected boolean delegateToParent protected static ThreadLocal current protected java.net.URLStreamHandler oneJarHandler protected com.simontuffs.onejar.JarClassLoader$IURLFactory urlFactory static Class class$com$simontuffs$onejar$JarClassLoader protected java.lang.String PREFIX () protected java.lang.String NAME () protected void VERBOSE (java.lang.String) String message protected void WARNING (java.lang.String) String message protected void INFO (java.lang.String) String message protected void PRINTLN (java.lang.String) String message protected void PRINT (java.lang.String) String message public void <init> (java.lang.String) String $wrap public void <init> (java.lang.ClassLoader) ClassLoader parent protected void init () String _path java.net.MalformedURLException ignore java.io.IOException ignore IllegalArgumentException ignore java.net.MalformedURLException mux String path int i String[] tokens java.util.List list java.net.URL[] urls String classpath public java.lang.String load (java.lang.String) String mainClass String jarname public java.lang.String load (java.lang.String, java.lang.String) String jar String answer boolean getconfirm String msg java.io.File parent java.io.InputStream is java.io.FileOutputStream os String msg java.io.File dest java.io.InputStream is java.util.jar.JarInputStream jis java.util.jar.Manifest m java.io.InputStream is java.io.File dir java.io.File sentinel java.util.jar.JarEntry entry String $entry java.util.jar.JarFile jarFile java.util.Enumeration _enum java.util.jar.Manifest manifest String[] expandPaths String expand String expanddir boolean shouldExpand java.io.File tmpdir boolean showexpand java.io.IOException iox String mainClass String jarName public java.lang.String replaceProps (java.util.Map, java.lang.String) String prop String prop java.util.Map replace String string java.util.regex.Pattern pat java.util.regex.Matcher mat boolean found java.util.Map props java.util.Set keys java.util.Iterator iter public static boolean shouldExpand (java.lang.String[], java.lang.String) int i String[] expandPaths String name protected void loadByteCode (java.io.InputStream, java.lang.String, java.lang.String) throws java.io.IOException java.io.ByteArrayOutputStream baos java.io.ByteArrayInputStream bais java.io.InputStream is String jar String tmp java.util.jar.JarInputStream jis java.util.jar.JarEntry entry java.util.jar.Manifest manifest protected void loadBytes (java.util.jar.JarEntry, java.io.InputStream, java.lang.String, java.lang.String, java.util.jar.Manifest) throws java.io.IOException String packageName java.io.File file java.io.FileOutputStream fos String localname java.util.jar.JarEntry entry java.io.InputStream is String jar String tmp java.util.jar.Manifest man String entryName int index String type int index2 java.io.ByteArrayOutputStream baos public java.lang.Class loadClass (java.lang.String, boolean) throws java.lang.ClassNotFoundException String name boolean resolve protected java.lang.Class findClass (java.lang.String) throws java.lang.ClassNotFoundException ClassNotFoundException cnfx java.net.URL url java.security.CodeSource source java.net.MalformedURLException mux String pkgname Package pkg java.util.jar.Manifest man java.security.ProtectionDomain pd byte[] bytes int i String name Class cls String cache com.simontuffs.onejar.JarClassLoader$ByteCode bytecode private boolean isSealed (java.lang.String, java.util.jar.Manifest) String name java.util.jar.Manifest man String path java.util.jar.Attributes attr String sealed protected java.lang.Package definePackage (java.lang.String, java.util.jar.Manifest, java.net.URL) throws java.lang.IllegalArgumentException boolean isSealed String name java.util.jar.Manifest man java.net.URL url String path String specTitle String specVersion String specVendor String implTitle String implVersion String implVendor String sealed java.net.URL sealBase java.util.jar.Attributes attr protected java.lang.Class defineClass (java.lang.String, byte[], java.security.ProtectionDomain) throws java.lang.ClassFormatError String name byte[] bytes java.security.ProtectionDomain pd protected void record (com.simontuffs.onejar.JarClassLoader$ByteCode) java.io.FileOutputStream fos java.io.IOException iox com.simontuffs.onejar.JarClassLoader$ByteCode bytecode String fileName java.io.File dir java.io.File file protected java.lang.String canon (java.lang.String) String path String canon String next public java.io.InputStream getByteStream (java.lang.String) ClassLoader parent com.simontuffs.onejar.JarClassLoader$ByteCode bytecode ClassLoader parentClassLoader String resource java.io.InputStream result protected java.lang.String resolve (java.lang.String) String tmp String $resource String resource String caller com.simontuffs.onejar.JarClassLoader$ByteCode callerCode protected boolean alreadyCached (java.lang.String, java.lang.String, java.io.ByteArrayOutputStream) String message byte[] bytes String name String jar java.io.ByteArrayOutputStream baos com.simontuffs.onejar.JarClassLoader$ByteCode existing protected java.lang.String getCaller () public void setRecording (java.lang.String) String $recording public java.lang.String getRecording () public void setRecord (boolean) boolean $record public boolean getRecord () public void setFlatten (boolean) boolean $flatten public boolean isFlatten () public void setVerbose (boolean) boolean $verbose public boolean getVerbose () public void setInfo (boolean) boolean $info public boolean getInfo () public void setWarning (boolean) boolean $warning public boolean getWarning () public java.net.URL getResource (java.lang.String) java.net.URL url String name public void setURLFactory (java.lang.String) throws java.lang.ClassNotFoundException java.lang.IllegalAccessException java.lang.InstantiationException String urlFactory public com.simontuffs.onejar.JarClassLoader$IURLFactory getURLFactory () protected java.net.URL findResource (java.lang.String) com.simontuffs.onejar.JarClassLoader$ByteCode entry java.net.URL url ClassLoader parent String resource java.net.MalformedURLException mux String $resource protected java.util.Enumeration findResources (java.lang.String) throws java.io.IOException java.net.URL url String resource com.simontuffs.onejar.JarClassLoader$ByteCode entry String name java.util.Iterator iter java.util.List resources java.util.Iterator ri protected void copy (java.io.InputStream, java.io.OutputStream) throws java.io.IOException int len java.io.InputStream in java.io.OutputStream out byte[] buf public java.lang.String toString () public java.lang.String getName () public void setName (java.lang.String) String string public void setExpand (boolean) boolean expand public boolean isExpanded () protected java.lang.String findLibrary (java.lang.String) String name String os String arch String BINLIB_LINUX32_PREFIX String BINLIB_LINUX64_PREFIX String BINLIB_MACOSX_PREFIX String BINLIB_WINDOWS32_PREFIX String BINLIB_WINDOWS64_PREFIX String binlib String retValue protected java.lang.String findTheLibrary (java.lang.String, java.lang.String) int lastdot String suffix java.io.InputStream is Throwable e java.io.File tempNativeLib java.io.FileOutputStream os String BINLIB_PREFIX String name String result String resourcePath protected java.lang.String getConfirmation (java.io.File) throws java.io.IOException java.io.BufferedReader br java.io.File location String answer protected void promptForConfirm (java.io.File) java.io.File location static java.lang.Class class$ (java.lang.String) ClassNotFoundException x1 String x0 static void <clinit> () String handlerPackage }
com/simontuffs/onejar/OneJarFile$1.class
OneJarFile.java package com.simontuffs.onejar com.simontuffs.onejar.OneJarFile$1 extends java.util.jar.JarEntry { private final com.simontuffs.onejar.OneJarFile this$0 void <init> (com.simontuffs.onejar.OneJarFile, java.lang.String) String x0 }
com/simontuffs/onejar/OneJarFile$2.class
OneJarFile.java package com.simontuffs.onejar com.simontuffs.onejar.OneJarFile$2 extends java.lang.Object implements java.util.Enumeration { protected java.util.jar.JarEntry next private final java.util.jar.JarInputStream val$is private final com.simontuffs.onejar.OneJarFile this$0 void <init> (com.simontuffs.onejar.OneJarFile, java.util.jar.JarInputStream) public java.lang.Object nextElement () java.util.jar.JarEntry tmp java.io.IOException e public boolean hasMoreElements () java.io.IOException e }
com/simontuffs/onejar/OneJarFile.class
OneJarFile.java package com.simontuffs.onejar public com.simontuffs.onejar.OneJarFile extends java.util.jar.JarFile { protected final String jarFilename protected final String filename protected final java.util.jar.JarEntry wrappedJarFile public void <init> (java.lang.String, java.lang.String, java.lang.String) throws java.io.IOException String myJarPath String jarFilename String filename public java.util.jar.JarEntry getJarEntry (java.lang.String) java.util.jar.JarEntry entry java.util.jar.JarInputStream is java.io.IOException e String name String filename public java.util.Enumeration entries () java.util.jar.JarInputStream is java.io.IOException e public synchronized java.io.InputStream getInputStream (java.util.zip.ZipEntry) throws java.io.IOException java.io.ByteArrayOutputStream baos java.io.ByteArrayOutputStream baos java.util.jar.JarEntry entry java.util.jar.JarInputStream is java.io.IOException e java.util.zip.ZipEntry ze protected void copy (java.io.InputStream, java.io.OutputStream) throws java.io.IOException int len java.io.InputStream in java.io.OutputStream out byte[] buf }
com/simontuffs/onejar/OneJarURLConnection.class
OneJarURLConnection.java package com.simontuffs.onejar public com.simontuffs.onejar.OneJarURLConnection extends java.net.JarURLConnection { private java.util.jar.JarFile jarFile public void <init> (java.net.URL) throws java.net.MalformedURLException java.net.URL url public java.util.jar.JarFile getJarFile () throws java.io.IOException public void connect () throws java.io.IOException String jarFilename String filename String jarWithContent int separator public java.io.InputStream getInputStream () throws java.io.IOException }
doc/one-jar-license.txt
META-INF/
META-INF/MANIFEST.MF
lib/
lib/mmt-api.jar
lib/mmt-lf.jar
lib/scala-library.jar
lib/tiscaf.jar