public class DefaultNInputStreamMonitor extends Object implements net.thevpc.nuts.io.NInputStreamMonitor
| Constructor and Description |
|---|
DefaultNInputStreamMonitor(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
create() |
long |
getLength() |
net.thevpc.nuts.util.NMsg |
getName() |
Object |
getOrigin() |
net.thevpc.nuts.time.NProgressFactory |
getProgressFactory()
return progress factory responsible for creating progress monitor
|
net.thevpc.nuts.io.NInputSource |
getSource() |
String |
getSourceTypeName() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
boolean |
isLogProgress()
when true, will include default factory (console) even if progressFactory is defined
|
boolean |
isTraceProgress() |
net.thevpc.nuts.io.NInputStreamMonitor |
setLength(long len) |
net.thevpc.nuts.io.NInputStreamMonitor |
setLogProgress(boolean value)
when true, will include default factory (console) even if progressFactory is defined
|
net.thevpc.nuts.io.NInputStreamMonitor |
setName(net.thevpc.nuts.util.NMsg name) |
net.thevpc.nuts.io.NInputStreamMonitor |
setOrigin(Object origin) |
net.thevpc.nuts.io.NInputStreamMonitor |
setProgressFactory(net.thevpc.nuts.time.NProgressFactory value)
set progress factory responsible for creating progress monitor
|
net.thevpc.nuts.io.NInputStreamMonitor |
setProgressMonitor(net.thevpc.nuts.time.NProgressListener value)
set progress monitor.
|
net.thevpc.nuts.io.NInputStreamMonitor |
setSource(File path) |
net.thevpc.nuts.io.NInputStreamMonitor |
setSource(InputStream path) |
net.thevpc.nuts.io.NInputStreamMonitor |
setSource(net.thevpc.nuts.io.NInputSource source) |
net.thevpc.nuts.io.NInputStreamMonitor |
setSource(net.thevpc.nuts.io.NPath inputSource) |
net.thevpc.nuts.io.NInputStreamMonitor |
setSource(Path path) |
net.thevpc.nuts.io.NInputStreamMonitor |
setSourceTypeName(String sourceType) |
net.thevpc.nuts.io.NInputStreamMonitor |
setTraceProgress(boolean value) |
public DefaultNInputStreamMonitor(net.thevpc.nuts.NWorkspace workspace)
public net.thevpc.nuts.util.NMsg getName()
getName in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setName(net.thevpc.nuts.util.NMsg name)
setName in interface net.thevpc.nuts.io.NInputStreamMonitorpublic Object getOrigin()
getOrigin in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setOrigin(Object origin)
setOrigin in interface net.thevpc.nuts.io.NInputStreamMonitorpublic long getLength()
getLength in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setLength(long len)
setLength in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setSource(net.thevpc.nuts.io.NInputSource source)
setSource in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setSource(net.thevpc.nuts.io.NPath inputSource)
setSource in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setSource(Path path)
setSource in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setSource(File path)
setSource in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setSource(InputStream path)
setSource in interface net.thevpc.nuts.io.NInputStreamMonitorpublic InputStream create()
create in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputSource getSource()
getSource in interface net.thevpc.nuts.io.NInputStreamMonitorpublic String getSourceTypeName()
getSourceTypeName in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setSourceTypeName(String sourceType)
setSourceTypeName in interface net.thevpc.nuts.io.NInputStreamMonitorpublic boolean isTraceProgress()
isTraceProgress in interface net.thevpc.nuts.io.NInputStreamMonitorpublic boolean isLogProgress()
isLogProgress in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setLogProgress(boolean value)
setLogProgress in interface net.thevpc.nuts.io.NInputStreamMonitorvalue - valuethis instancepublic net.thevpc.nuts.io.NInputStreamMonitor setTraceProgress(boolean value)
setTraceProgress in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.time.NProgressFactory getProgressFactory()
getProgressFactory in interface net.thevpc.nuts.io.NInputStreamMonitorpublic net.thevpc.nuts.io.NInputStreamMonitor setProgressFactory(net.thevpc.nuts.time.NProgressFactory value)
setProgressFactory in interface net.thevpc.nuts.io.NInputStreamMonitorvalue - new valuethis instancepublic net.thevpc.nuts.io.NInputStreamMonitor setProgressMonitor(net.thevpc.nuts.time.NProgressListener value)
setProgressMonitor in interface net.thevpc.nuts.io.NInputStreamMonitorvalue - new valuethis instancepublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentCopyright © 2025 vpc open source initiative. All rights reserved.