public class DefaultNCp extends Object implements NCp
| Constructor and Description |
|---|
DefaultNCp() |
protected NLog _LOG()
public NInputSource source()
public NCp source(InputStream source)
public NCp from(NInputSource source)
public NCp to(NOutputTarget target)
public NCp from(InputStream source)
public NOutputTarget target()
public NCp target(OutputStream target)
public NCp target(NPrintStream target)
public NCp target(NOutputTarget target)
public NCp source(NInputSource source)
public NCp to(OutputStream target)
public NCp to(NPrintStream target)
public NCp addOptions(NPathOption... pathOptions)
addOptions in interface NCppublic NCp removeOptions(NPathOption... pathOptions)
removeOptions in interface NCppublic NCp clearOptions()
clearOptions in interface NCppublic Set<NPathOption> options()
public NCpValidator validator()
public DefaultNCp validator(NCpValidator checker)
public boolean isRecursive()
isRecursive in interface NCppublic NCp setRecursive(boolean recursive)
setRecursive in interface NCppublic byte[] byteArrayResult()
byteArrayResult in interface NCppublic String stringResult()
stringResult in interface NCppublic NProgressFactory progressFactory()
progressFactory in interface NCppublic NCp progressFactory(NProgressFactory value)
progressFactory in interface NCpvalue - new valuethis instancepublic NCp progressMonitor(NProgressListener value)
progressMonitor in interface NCpvalue - new valuethis instancepublic boolean isSkipRoot()
isSkipRoot in interface NCppublic Object sourceOrigin()
sourceOrigin in interface NCppublic NCp sourceOrigin(Object sourceOrigin)
sourceOrigin in interface NCppublic NMsg actionMessage()
actionMessage in interface NCppublic DefaultNCp actionMessage(NMsg actionMsg)
actionMessage in interface NCppublic String sourceTypeName()
sourceTypeName in interface NCppublic NCp sourceTypeName(String sourceTypeName)
sourceTypeName in interface NCppublic Path copy(Path source, Path target, Set<NPathOption> options) throws IOException
IOExceptionpublic long copy(InputStream in, Path target, Set<NPathOption> options) throws IOException
IOExceptionpublic long copy(InputStream in, OutputStream out, Set<NPathOption> options) throws IOException
IOExceptionpublic long copy(Reader in, Writer out, Set<NPathOption> options) throws IOException
IOExceptionpublic long copy(Path source, OutputStream out) throws IOException
IOExceptionCopyright © 2026 vpc open source initiative. All rights reserved.