public class DefaultNutsInputStreamMonitor extends Object implements net.thevpc.nuts.NutsInputStreamMonitor
| Constructor and Description |
|---|
DefaultNutsInputStreamMonitor(net.thevpc.nuts.NutsSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkSession() |
InputStream |
create() |
long |
getLength() |
net.thevpc.nuts.NutsString |
getName() |
Object |
getOrigin() |
net.thevpc.nuts.NutsProgressFactory |
getProgressFactory()
return progress factory responsible of creating progress monitor
|
net.thevpc.nuts.NutsSession |
getSession() |
String |
getSourceTypeName() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context) |
boolean |
isLogProgress()
when true, will include default factory (console) even if progressFactory is defined
|
boolean |
isTraceProgress() |
net.thevpc.nuts.NutsInputStreamMonitor |
setLength(long len) |
net.thevpc.nuts.NutsInputStreamMonitor |
setLogProgress(boolean value)
when true, will include default factory (console) even if progressFactory is defined
|
net.thevpc.nuts.NutsInputStreamMonitor |
setName(net.thevpc.nuts.NutsString name) |
net.thevpc.nuts.NutsInputStreamMonitor |
setOrigin(Object origin) |
net.thevpc.nuts.NutsInputStreamMonitor |
setProgressFactory(net.thevpc.nuts.NutsProgressFactory value)
set progress factory responsible of creating progress monitor
|
net.thevpc.nuts.NutsInputStreamMonitor |
setProgressMonitor(net.thevpc.nuts.NutsProgressMonitor value)
set progress monitor.
|
net.thevpc.nuts.NutsInputStreamMonitor |
setSession(net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.NutsInputStreamMonitor |
setSource(File path) |
net.thevpc.nuts.NutsInputStreamMonitor |
setSource(InputStream path) |
net.thevpc.nuts.NutsInputStreamMonitor |
setSource(net.thevpc.nuts.NutsPath inputSource) |
net.thevpc.nuts.NutsInputStreamMonitor |
setSource(Path path) |
net.thevpc.nuts.NutsInputStreamMonitor |
setSource(String path) |
net.thevpc.nuts.NutsInputStreamMonitor |
setSourceTypeName(String sourceType) |
net.thevpc.nuts.NutsInputStreamMonitor |
setTraceProgress(boolean value) |
public DefaultNutsInputStreamMonitor(net.thevpc.nuts.NutsSession session)
public net.thevpc.nuts.NutsSession getSession()
getSession in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setSession(net.thevpc.nuts.NutsSession session)
setSession in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsString getName()
getName in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setName(net.thevpc.nuts.NutsString name)
setName in interface net.thevpc.nuts.NutsInputStreamMonitorpublic Object getOrigin()
getOrigin in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setOrigin(Object origin)
setOrigin in interface net.thevpc.nuts.NutsInputStreamMonitorpublic long getLength()
getLength in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setLength(long len)
setLength in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setSource(String path)
setSource in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setSource(net.thevpc.nuts.NutsPath inputSource)
setSource in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setSource(Path path)
setSource in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setSource(File path)
setSource in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setSource(InputStream path)
setSource in interface net.thevpc.nuts.NutsInputStreamMonitorpublic InputStream create()
create in interface net.thevpc.nuts.NutsInputStreamMonitorpublic String getSourceTypeName()
getSourceTypeName in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setSourceTypeName(String sourceType)
setSourceTypeName in interface net.thevpc.nuts.NutsInputStreamMonitorpublic boolean isTraceProgress()
isTraceProgress in interface net.thevpc.nuts.NutsInputStreamMonitorpublic boolean isLogProgress()
isLogProgress in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setLogProgress(boolean value)
setLogProgress in interface net.thevpc.nuts.NutsInputStreamMonitorvalue - valuethis instancepublic net.thevpc.nuts.NutsInputStreamMonitor setTraceProgress(boolean value)
setTraceProgress in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsProgressFactory getProgressFactory()
getProgressFactory in interface net.thevpc.nuts.NutsInputStreamMonitorpublic net.thevpc.nuts.NutsInputStreamMonitor setProgressFactory(net.thevpc.nuts.NutsProgressFactory value)
setProgressFactory in interface net.thevpc.nuts.NutsInputStreamMonitorvalue - new valuethis instancepublic net.thevpc.nuts.NutsInputStreamMonitor setProgressMonitor(net.thevpc.nuts.NutsProgressMonitor value)
setProgressMonitor in interface net.thevpc.nuts.NutsInputStreamMonitorvalue - new valuethis instanceprotected void checkSession()
public int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NutsComponentCopyright © 2022 vpc open source initiative. All rights reserved.