src/com/esotericsoftware/scar/Jar.java
static public String pack200 (String jarFile, String packedFile) throws IOException {
		if (jarFile == null) throw new IllegalArgumentException("jarFile cannot be null.");
		if (packedFile == null) throw new IllegalArgumentException("packedFile cannot be null.");

		if (DEBUG) debug("scar", "Packing JAR: " + jarFile + " -> " + packedFile);

		shell("pack200", "--no-gzip", "--segment-limit=-1", "--no-keep-file-order", "--effort=7", "--modification-time=latest",
			packedFile, jarFile);
		return packedFile;
	}
/** Encodes the specified file with pack200.
	 * @return The path to the encoded file. */
Encodes the specified file with pack200.
@return The path to the encoded file.
Encodes the specified file with pack200 . @return The path to the encoded file .
static public String pack200 (String jarFile, String packedFile) throws IOException {
		if (jarFile == null) throw new IllegalArgumentException("jarFile cannot be null.");
		if (packedFile == null) throw new IllegalArgumentException("packedFile cannot be null.");
		if (DEBUG) debug("scar", "Packing JAR: " + jarFile + " -> " + packedFile);
		shell("pack200", "--no-gzip", "--segment-limit=-1", "--no-keep-file-order", "--effort=7", "--modification-time=latest",
			packedFile, jarFile);
		return packedFile;
	}
static public String pack200 ( String jarFile , String packedFile ) throws IOException { if ( jarFile == null ) throw new IllegalArgumentException ( "jarFile cannot be null." ) ; if ( packedFile == null ) throw new IllegalArgumentException ( "packedFile cannot be null." ) ; if ( DEBUG ) debug ( "scar" , "Packing JAR: " + jarFile + " -> " + packedFile ) ; shell ( "pack200" , "--no-gzip" , "--segment-limit=-1" , "--no-keep-file-order" , "--effort=7" , "--modification-time=latest" , packedFile , jarFile ) ; return packedFile ; }
Encodes the specified file with pack200.
Encodes the specified file with pack200 .