public class DefaultNCp extends Object implements net.thevpc.nuts.io.NCp
| Constructor and Description |
|---|
DefaultNCp() |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
net.thevpc.nuts.text.NMsg |
actionMessage() |
DefaultNCp |
actionMessage(net.thevpc.nuts.text.NMsg actionMsg) |
net.thevpc.nuts.io.NCp |
addOptions(net.thevpc.nuts.io.NPathOption... pathOptions) |
byte[] |
byteArrayResult() |
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.io.NCp |
interrupt() |
boolean |
isMkdirs() |
boolean |
isRecursive() |
boolean |
isSkipRoot() |
net.thevpc.nuts.io.NCp |
mkdirs(boolean mkdirs) |
Set<net.thevpc.nuts.io.NPathOption> |
options() |
net.thevpc.nuts.time.NProgressFactory |
progressFactory()
return progress factory responsible of creating progress monitor
|
net.thevpc.nuts.io.NCp |
progressFactory(net.thevpc.nuts.time.NProgressFactory value)
set progress factory responsible of creating progress monitor
|
net.thevpc.nuts.io.NCp |
progressMonitor(net.thevpc.nuts.time.NProgressListener value)
set progress monitor.
|
net.thevpc.nuts.io.NCp |
removeOptions(net.thevpc.nuts.io.NPathOption... pathOptions) |
net.thevpc.nuts.io.NCp |
run() |
net.thevpc.nuts.io.NCp |
setRecursive(boolean recursive) |
net.thevpc.nuts.io.NCp |
skipRoot(boolean skipRoot) |
net.thevpc.nuts.io.NInputSource |
source() |
net.thevpc.nuts.io.NCp |
source(byte[] source) |
net.thevpc.nuts.io.NCp |
source(File source) |
net.thevpc.nuts.io.NCp |
source(InputStream source) |
net.thevpc.nuts.io.NCp |
source(net.thevpc.nuts.io.NInputSource source) |
net.thevpc.nuts.io.NCp |
source(net.thevpc.nuts.io.NPath source) |
net.thevpc.nuts.io.NCp |
source(Path source) |
net.thevpc.nuts.io.NCp |
source(String source) |
net.thevpc.nuts.io.NCp |
source(URL source) |
Object |
sourceOrigin() |
net.thevpc.nuts.io.NCp |
sourceOrigin(Object sourceOrigin) |
String |
sourceTypeName() |
net.thevpc.nuts.io.NCp |
sourceTypeName(String sourceTypeName) |
String |
stringResult() |
net.thevpc.nuts.io.NOutputTarget |
target() |
net.thevpc.nuts.io.NCp |
target(File target) |
net.thevpc.nuts.io.NCp |
target(net.thevpc.nuts.io.NOutputTarget target) |
net.thevpc.nuts.io.NCp |
target(net.thevpc.nuts.io.NPath target) |
net.thevpc.nuts.io.NCp |
target(net.thevpc.nuts.io.NPrintStream target) |
net.thevpc.nuts.io.NCp |
target(OutputStream target) |
net.thevpc.nuts.io.NCp |
target(Path target) |
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) |
net.thevpc.nuts.io.NCpValidator |
validator() |
DefaultNCp |
validator(net.thevpc.nuts.io.NCpValidator checker) |
protected net.thevpc.nuts.log.NLog _LOG()
public net.thevpc.nuts.io.NInputSource source()
source in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp source(net.thevpc.nuts.io.NPath source)
source in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp source(InputStream source)
source in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp source(File source)
source in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp source(Path source)
source in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp source(URL source)
source in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp source(String source)
source in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp source(byte[] source)
source 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 target()
target in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp target(OutputStream target)
target in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp target(net.thevpc.nuts.io.NPrintStream target)
target in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp target(net.thevpc.nuts.io.NPath target)
target in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp target(Path target)
target in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp target(File target)
target in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp target(net.thevpc.nuts.io.NOutputTarget target)
target in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp source(net.thevpc.nuts.io.NInputSource source)
source 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> options()
options in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCpValidator validator()
validator in interface net.thevpc.nuts.io.NCppublic DefaultNCp validator(net.thevpc.nuts.io.NCpValidator checker)
validator 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 mkdirs(boolean mkdirs)
mkdirs in interface net.thevpc.nuts.io.NCppublic byte[] byteArrayResult()
byteArrayResult in interface net.thevpc.nuts.io.NCppublic String stringResult()
stringResult 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 progressFactory()
progressFactory in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp progressFactory(net.thevpc.nuts.time.NProgressFactory value)
progressFactory in interface net.thevpc.nuts.io.NCpvalue - new valuethis instancepublic net.thevpc.nuts.io.NCp progressMonitor(net.thevpc.nuts.time.NProgressListener value)
progressMonitor 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 skipRoot(boolean skipRoot)
skipRoot in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp interrupt()
interrupt in interface net.thevpc.nuts.io.NCppublic Object sourceOrigin()
sourceOrigin in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp sourceOrigin(Object sourceOrigin)
sourceOrigin in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.text.NMsg actionMessage()
actionMessage in interface net.thevpc.nuts.io.NCppublic DefaultNCp actionMessage(net.thevpc.nuts.text.NMsg actionMsg)
actionMessage in interface net.thevpc.nuts.io.NCppublic String sourceTypeName()
sourceTypeName in interface net.thevpc.nuts.io.NCppublic net.thevpc.nuts.io.NCp sourceTypeName(String sourceTypeName)
sourceTypeName 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 © 2026 vpc open source initiative. All rights reserved.