public class DefaultNCp extends Object implements net.thevpc.nuts.io.NCp
| Constructor and Description |
|---|
DefaultNCp(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
protected net.thevpc.nuts.log.NLogOp |
_LOGOP() |
net.thevpc.nuts.io.NCp |
addOptions(net.thevpc.nuts.io.NPathOption... pathOptions) |
net.thevpc.nuts.io.NCp |
clearOptions() |
long |
copy(InputStream in,
OutputStream out,
Set<net.thevpc.nuts.io.NPathOption> options) |
long |
copy(InputStream in,
Path target,
Set<net.thevpc.nuts.io.NPathOption> options) |
long |
copy(Path source,
OutputStream out) |
Path |
copy(Path source,
Path target,
Set<net.thevpc.nuts.io.NPathOption> options) |
long |
copy(Reader in,
Writer out,
Set<net.thevpc.nuts.io.NPathOption> options) |
net.thevpc.nuts.io.NCp |
from(byte[] source) |
net.thevpc.nuts.io.NCp |
from(File source) |
net.thevpc.nuts.io.NCp |
from(InputStream source) |
net.thevpc.nuts.io.NCp |
from(net.thevpc.nuts.io.NInputSource source) |
net.thevpc.nuts.io.NCp |
from(net.thevpc.nuts.io.NPath source) |
net.thevpc.nuts.io.NCp |
from(Path source) |
net.thevpc.nuts.io.NCp |
from(Reader source) |
net.thevpc.nuts.io.NCp |
from(URL source) |
net.thevpc.nuts.util.NMsg |
getActionMessage() |
byte[] |
getByteArrayResult() |
Set<net.thevpc.nuts.io.NPathOption> |
getOptions() |
net.thevpc.nuts.time.NProgressFactory |
getProgressFactory()
return progress factory responsible of creating progress monitor
|
net.thevpc.nuts.io.NInputSource |
getSource() |
Object |
getSourceOrigin() |
String |
getSourceTypeName() |
String |
getStringResult() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
net.thevpc.nuts.io.NOutputTarget |
getTarget() |
net.thevpc.nuts.io.NCpValidator |
getValidator() |
net.thevpc.nuts.io.NCp |
interrupt() |
boolean |
isMkdirs() |
boolean |
isRecursive() |
boolean |
isSkipRoot() |
net.thevpc.nuts.io.NCp |
removeOptions(net.thevpc.nuts.io.NPathOption... pathOptions) |
net.thevpc.nuts.io.NCp |
run() |
DefaultNCp |
setActionMessage(net.thevpc.nuts.util.NMsg actionMsg) |
net.thevpc.nuts.io.NCp |
setMkdirs(boolean mkdirs) |
net.thevpc.nuts.io.NCp |
setProgressFactory(net.thevpc.nuts.time.NProgressFactory value)
set progress factory responsible of creating progress monitor
|
net.thevpc.nuts.io.NCp |
setProgressMonitor(net.thevpc.nuts.time.NProgressListener value)
set progress monitor.
|
net.thevpc.nuts.io.NCp |
setRecursive(boolean recursive) |
net.thevpc.nuts.io.NCp |
setSkipRoot(boolean skipRoot) |
net.thevpc.nuts.io.NCp |
setSource(byte[] source) |
net.thevpc.nuts.io.NCp |
setSource(File source) |
net.thevpc.nuts.io.NCp |
setSource(InputStream source) |
net.thevpc.nuts.io.NCp |
setSource(net.thevpc.nuts.io.NInputSource source) |
net.thevpc.nuts.io.NCp |
setSource(net.thevpc.nuts.io.NPath source) |
net.thevpc.nuts.io.NCp |
setSource(Path source) |
net.thevpc.nuts.io.NCp |
setSource(String source) |
net.thevpc.nuts.io.NCp |
setSource(URL source) |
net.thevpc.nuts.io.NCp |
setSourceOrigin(Object sourceOrigin) |
net.thevpc.nuts.io.NCp |
setSourceTypeName(String sourceTypeName) |
net.thevpc.nuts.io.NCp |
setTarget(File target) |
net.thevpc.nuts.io.NCp |
setTarget(net.thevpc.nuts.io.NOutputTarget target) |
net.thevpc.nuts.io.NCp |
setTarget(net.thevpc.nuts.io.NPath target) |
net.thevpc.nuts.io.NCp |
setTarget(net.thevpc.nuts.io.NPrintStream target) |
net.thevpc.nuts.io.NCp |
setTarget(OutputStream target) |
net.thevpc.nuts.io.NCp |
setTarget(Path target) |
DefaultNCp |
setValidator(net.thevpc.nuts.io.NCpValidator checker) |
net.thevpc.nuts.io.NCp |
to(File target) |
net.thevpc.nuts.io.NCp |
to(net.thevpc.nuts.io.NOutputTarget target) |
net.thevpc.nuts.io.NCp |
to(net.thevpc.nuts.io.NPath target) |
net.thevpc.nuts.io.NCp |
to(net.thevpc.nuts.io.NPrintStream target) |
net.thevpc.nuts.io.NCp |
to(OutputStream target) |
net.thevpc.nuts.io.NCp |
to(Path target) |
net.thevpc.nuts.io.NCp |
to(Writer target) |
public int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentprotected net.thevpc.nuts.log.NLogOp _LOGOP()
protected net.thevpc.nuts.log.NLog _LOG()
public net.thevpc.nuts.io.NInputSource getSource()
getSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSource(net.thevpc.nuts.io.NPath source)
setSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSource(InputStream source)
setSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSource(File source)
setSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSource(Path source)
setSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSource(URL source)
setSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSource(String source)
setSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSource(byte[] source)
setSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp from(net.thevpc.nuts.io.NInputSource source)
from in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp from(net.thevpc.nuts.io.NPath source)
from in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp from(Reader source)
from in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp to(net.thevpc.nuts.io.NOutputTarget target)
to in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp to(Writer target)
to in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp from(InputStream source)
from in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp from(File source)
from in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp from(Path source)
from in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp from(URL source)
from in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp from(byte[] source)
from in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NOutputTarget getTarget()
getTarget in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setTarget(OutputStream target)
setTarget in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setTarget(net.thevpc.nuts.io.NPrintStream target)
setTarget in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setTarget(net.thevpc.nuts.io.NPath target)
setTarget in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setTarget(Path target)
setTarget in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setTarget(File target)
setTarget in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setTarget(net.thevpc.nuts.io.NOutputTarget target)
setTarget in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSource(net.thevpc.nuts.io.NInputSource source)
setSource in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp to(OutputStream target)
to in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp to(net.thevpc.nuts.io.NPrintStream target)
to in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp to(Path target)
to in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp to(File target)
to in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp to(net.thevpc.nuts.io.NPath target)
to in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp addOptions(net.thevpc.nuts.io.NPathOption... pathOptions)
addOptions in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp removeOptions(net.thevpc.nuts.io.NPathOption... pathOptions)
removeOptions in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp clearOptions()
clearOptions in interface net.thevpc.nuts.io.NCppublic Set<net.thevpc.nuts.io.NPathOption> getOptions()
getOptions in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCpValidator getValidator()
getValidator in interface net.thevpc.nuts.io.NCppublic DefaultNCp setValidator(net.thevpc.nuts.io.NCpValidator checker)
setValidator in interface net.thevpc.nuts.io.NCppublic boolean isRecursive()
isRecursive in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setRecursive(boolean recursive)
setRecursive in interface net.thevpc.nuts.io.NCppublic boolean isMkdirs()
isMkdirs in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setMkdirs(boolean mkdirs)
setMkdirs in interface net.thevpc.nuts.io.NCppublic byte[] getByteArrayResult()
getByteArrayResult in interface net.thevpc.nuts.io.NCppublic String getStringResult()
getStringResult in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp run()
run in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.time.NProgressFactory getProgressFactory()
getProgressFactory in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setProgressFactory(net.thevpc.nuts.time.NProgressFactory value)
setProgressFactory in interface net.thevpc.nuts.io.NCpvalue - new valuethis instancepublic net.thevpc.nuts.io.NCp setProgressMonitor(net.thevpc.nuts.time.NProgressListener value)
setProgressMonitor in interface net.thevpc.nuts.io.NCpvalue - new valuethis instancepublic boolean isSkipRoot()
isSkipRoot in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSkipRoot(boolean skipRoot)
setSkipRoot in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp interrupt()
interrupt in interface net.thevpc.nuts.io.NCppublic Object getSourceOrigin()
getSourceOrigin in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSourceOrigin(Object sourceOrigin)
setSourceOrigin in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.util.NMsg getActionMessage()
getActionMessage in interface net.thevpc.nuts.io.NCppublic DefaultNCp setActionMessage(net.thevpc.nuts.util.NMsg actionMsg)
setActionMessage in interface net.thevpc.nuts.io.NCppublic String getSourceTypeName()
getSourceTypeName in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp setSourceTypeName(String sourceTypeName)
setSourceTypeName in interface net.thevpc.nuts.io.NCppublic Path copy(Path source, Path target, Set<net.thevpc.nuts.io.NPathOption> options) throws IOException
IOExceptionpublic long copy(InputStream in, Path target, Set<net.thevpc.nuts.io.NPathOption> options) throws IOException
IOExceptionpublic long copy(InputStream in, OutputStream out, Set<net.thevpc.nuts.io.NPathOption> options) throws IOException
IOExceptionpublic long copy(Reader in, Writer out, Set<net.thevpc.nuts.io.NPathOption> options) throws IOException
IOExceptionpublic long copy(Path source, OutputStream out) throws IOException
IOExceptionCopyright © 2025 vpc open source initiative. All rights reserved.