public class DefaultNCompress extends Object implements net.thevpc.nuts.io.NCompress
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNCompress.Item |
| Constructor and Description |
|---|
DefaultNCompress(net.thevpc.nuts.NWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
net.thevpc.nuts.io.NCompress |
addOptions(net.thevpc.nuts.io.NPathOption... pathOptions) |
net.thevpc.nuts.io.NCompress |
addSource(File source) |
net.thevpc.nuts.io.NCompress |
addSource(InputStream source) |
net.thevpc.nuts.io.NCompress |
addSource(net.thevpc.nuts.io.NInputSource source) |
net.thevpc.nuts.io.NCompress |
addSource(net.thevpc.nuts.io.NPath source) |
net.thevpc.nuts.io.NCompress |
addSource(Path source) |
net.thevpc.nuts.io.NCompress |
addSource(URL source) |
net.thevpc.nuts.io.NCompress |
clearOptions() |
Object |
getFormatOption(String option) |
Set<net.thevpc.nuts.io.NPathOption> |
getOptions() |
String |
getPackaging() |
net.thevpc.nuts.time.NProgressFactory |
getProgressFactory()
return progress factory responsible for creating progress monitor
|
List<net.thevpc.nuts.io.NInputSource> |
getSources() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
net.thevpc.nuts.io.NOutputTarget |
getTarget() |
boolean |
isSafe() |
boolean |
isSkipRoot() |
net.thevpc.nuts.io.NCompress |
removeOptions(net.thevpc.nuts.io.NPathOption... pathOptions) |
net.thevpc.nuts.io.NCompress |
run() |
net.thevpc.nuts.io.NCompress |
setFormatOption(String option,
Object value) |
net.thevpc.nuts.io.NCompress |
setPackaging(String packaging) |
net.thevpc.nuts.io.NCompress |
setProgressFactory(net.thevpc.nuts.time.NProgressFactory value)
set progress factory responsible for creating progress monitor
|
net.thevpc.nuts.io.NCompress |
setProgressMonitor(net.thevpc.nuts.time.NProgressListener value)
set progress monitor.
|
net.thevpc.nuts.io.NCompress |
setSafe(boolean value) |
net.thevpc.nuts.io.NCompress |
setSkipRoot(boolean value) |
net.thevpc.nuts.io.NCompress |
setTarget(File target) |
net.thevpc.nuts.io.NCompress |
setTarget(net.thevpc.nuts.io.NOutputTarget target) |
net.thevpc.nuts.io.NCompress |
setTarget(net.thevpc.nuts.io.NPath target) |
net.thevpc.nuts.io.NCompress |
setTarget(OutputStream target) |
net.thevpc.nuts.io.NCompress |
setTarget(Path target) |
net.thevpc.nuts.io.NCompress |
setTarget(String target) |
net.thevpc.nuts.io.NCompress |
to(File target) |
net.thevpc.nuts.io.NCompress |
to(net.thevpc.nuts.io.NPath target) |
net.thevpc.nuts.io.NCompress |
to(OutputStream target) |
net.thevpc.nuts.io.NCompress |
to(Path target) |
net.thevpc.nuts.io.NCompress |
to(String target) |
public int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentprotected net.thevpc.nuts.log.NLog _LOG()
public net.thevpc.nuts.io.NCompress setFormatOption(String option, Object value)
setFormatOption in interface net.thevpc.nuts.io.NCompresspublic Object getFormatOption(String option)
getFormatOption in interface net.thevpc.nuts.io.NCompresspublic String getPackaging()
getPackaging in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setPackaging(String packaging)
setPackaging in interface net.thevpc.nuts.io.NCompresspublic List<net.thevpc.nuts.io.NInputSource> getSources()
getSources in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress addSource(net.thevpc.nuts.io.NInputSource source)
addSource in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress addSource(InputStream source)
addSource in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress addSource(File source)
addSource in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress addSource(Path source)
addSource in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress addSource(URL source)
addSource in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress addSource(net.thevpc.nuts.io.NPath source)
addSource in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NOutputTarget getTarget()
getTarget in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setTarget(OutputStream target)
setTarget in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setTarget(net.thevpc.nuts.io.NOutputTarget target)
setTarget in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setTarget(Path target)
setTarget in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setTarget(File target)
setTarget in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setTarget(String target)
setTarget in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setTarget(net.thevpc.nuts.io.NPath target)
setTarget in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress to(net.thevpc.nuts.io.NPath target)
to in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress to(OutputStream target)
to in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress to(String target)
to in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress to(Path target)
to in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress to(File target)
to in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress run()
run in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.time.NProgressFactory getProgressFactory()
getProgressFactory in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setProgressFactory(net.thevpc.nuts.time.NProgressFactory value)
setProgressFactory in interface net.thevpc.nuts.io.NCompressvalue - new valuethis instancepublic net.thevpc.nuts.io.NCompress setProgressMonitor(net.thevpc.nuts.time.NProgressListener value)
setProgressMonitor in interface net.thevpc.nuts.io.NCompressvalue - new valuethis instancepublic boolean isSafe()
isSafe in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setSafe(boolean value)
setSafe in interface net.thevpc.nuts.io.NCompresspublic boolean isSkipRoot()
isSkipRoot in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress setSkipRoot(boolean value)
setSkipRoot in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress addOptions(net.thevpc.nuts.io.NPathOption... pathOptions)
addOptions in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress removeOptions(net.thevpc.nuts.io.NPathOption... pathOptions)
removeOptions in interface net.thevpc.nuts.io.NCompresspublic net.thevpc.nuts.io.NCompress clearOptions()
clearOptions in interface net.thevpc.nuts.io.NCompresspublic Set<net.thevpc.nuts.io.NPathOption> getOptions()
getOptions in interface net.thevpc.nuts.io.NCompressCopyright © 2025 vpc open source initiative. All rights reserved.