src/com/esotericsoftware/scar/Scar.java
static public String unlzma (String lzmaFile, String file) throws IOException {
		if (lzmaFile == null) throw new IllegalArgumentException("lzmaFile cannot be null.");
		if (file == null) throw new IllegalArgumentException("file cannot be null.");

		if (DEBUG) debug("scar", "LZMA decoding: " + lzmaFile + " -> " + file);

		try {
			LzmaAlone.main(new String[] {"d", lzmaFile, file});
		} catch (Exception ex) {
			throw new IOException("Error lzma decompressing file: " + file, ex);
		}
		return file;
	}
/** Decodes the specified LZMA file.
	 * @return The path to the decoded file. */
Decodes the specified LZMA file.
@return The path to the decoded file.
Decodes the specified LZMA file . @return The path to the decoded file .
static public String unlzma (String lzmaFile, String file) throws IOException {
		if (lzmaFile == null) throw new IllegalArgumentException("lzmaFile cannot be null.");
		if (file == null) throw new IllegalArgumentException("file cannot be null.");
		if (DEBUG) debug("scar", "LZMA decoding: " + lzmaFile + " -> " + file);
		try {
			LzmaAlone.main(new String[] {"d", lzmaFile, file});
		} catch (Exception ex) {
			throw new IOException("Error lzma decompressing file: " + file, ex);
		}
		return file;
	}
static public String unlzma ( String lzmaFile , String file ) throws IOException { if ( lzmaFile == null ) throw new IllegalArgumentException ( "lzmaFile cannot be null." ) ; if ( file == null ) throw new IllegalArgumentException ( "file cannot be null." ) ; if ( DEBUG ) debug ( "scar" , "LZMA decoding: " + lzmaFile + " -> " + file ) ; try { LzmaAlone . main ( new String [ ] { "d" , lzmaFile , file } ) ; } catch ( Exception ex ) { throw new IOException ( "Error lzma decompressing file: " + file , ex ) ; } return file ; }
Decodes the specified LZMA file.
Decodes the specified LZMA file .