public class PatchAssembler extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static interface |
PatchAssembler.Assemble |
| Constructor and Description |
|---|
PatchAssembler(PatchMeta patch,
File storage) |
| Modifier and Type | Method and Description |
|---|---|
PatchAssembler |
add(String path,
InputStream input) |
PatchAssembler |
add(String path,
InputStream input,
com.google.common.hash.HashCode md5)
Deprecated.
|
PatchAssembler |
checksum(String path,
com.google.common.hash.HashCode md5) |
void |
close() |
PatchAssembler |
delete(String path) |
PatchAssembler |
update(String path,
InputStream input) |
PatchAssembler |
update(String path,
InputStream input,
com.google.common.hash.HashCode md5)
Deprecated.
|
public PatchAssembler(PatchMeta patch, File storage) throws FileNotFoundException
FileNotFoundExceptionpublic PatchAssembler checksum(String path, com.google.common.hash.HashCode md5)
public PatchAssembler add(String path, InputStream input)
@Deprecated public PatchAssembler add(String path, InputStream input, com.google.common.hash.HashCode md5) throws IOException
IOExceptionpublic PatchAssembler update(String path, InputStream input)
@Deprecated public PatchAssembler update(String path, InputStream input, com.google.common.hash.HashCode md5) throws IOException
IOExceptionpublic PatchAssembler delete(String path)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2025 Suncode. All rights reserved.