public class DefaultNCp extends Object implements NCp
| Constructor and Description |
|---|
DefaultNCp(NWorkspace workspace) |
public DefaultNCp(NWorkspace workspace)
public int getSupportLevel(NSupportLevelContext context)
getSupportLevel in interface NComponentprotected NLogOp _LOGOP()
protected NLog _LOG()
public NInputSource getSource()
public NCp setSource(InputStream source)
public NCp from(NInputSource source)
public NCp to(NOutputTarget target)
public NCp from(InputStream source)
public NOutputTarget getTarget()
public NCp setTarget(OutputStream target)
public NCp setTarget(NPrintStream target)
public NCp setTarget(NOutputTarget target)
public NCp setSource(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> getOptions()
getOptions in interface NCppublic NCpValidator getValidator()
getValidator in interface NCppublic DefaultNCp setValidator(NCpValidator checker)
setValidator in interface NCppublic boolean isRecursive()
isRecursive in interface NCppublic NCp setRecursive(boolean recursive)
setRecursive in interface NCppublic byte[] getByteArrayResult()
getByteArrayResult in interface NCppublic String getStringResult()
getStringResult in interface NCppublic NProgressFactory getProgressFactory()
getProgressFactory in interface NCppublic NCp setProgressFactory(NProgressFactory value)
setProgressFactory in interface NCpvalue - new valuethis instancepublic NCp setProgressMonitor(NProgressListener value)
setProgressMonitor in interface NCpvalue - new valuethis instancepublic boolean isSkipRoot()
isSkipRoot in interface NCppublic NCp setSkipRoot(boolean skipRoot)
setSkipRoot in interface NCppublic Object getSourceOrigin()
getSourceOrigin in interface NCppublic NCp setSourceOrigin(Object sourceOrigin)
setSourceOrigin in interface NCppublic NMsg getActionMessage()
getActionMessage in interface NCppublic DefaultNCp setActionMessage(NMsg actionMsg)
setActionMessage in interface NCppublic String getSourceTypeName()
getSourceTypeName in interface NCppublic NCp setSourceTypeName(String sourceTypeName)
setSourceTypeName 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 © 2025 vpc open source initiative. All rights reserved.