Uses of Class
com.norconex.commons.lang.io.CachedInputStream
Packages that use CachedInputStream
Package
Description
Utility classes when dealing with files and directories.
-
Uses of CachedInputStream in com.norconex.commons.lang.io
Methods in com.norconex.commons.lang.io that return CachedInputStreamModifier and TypeMethodDescriptionstatic CachedInputStreamCachedInputStream.cache(InputStream is) Casts toCachedInputSteamif argument is already of that type, else create a newCachedInputStreamfrom the input stream argument using defaultCachedStreamFactorysettings.static CachedInputStreamCachedInputStream.cache(InputStream is, CachedStreamFactory streamFactory) Casts toCachedInputSteamif argument is already of that type, else create a newCachedInputStreamfrom the input stream argument using the given stream factory (or defaults ifnull).CachedOutputStream.getInputStream()Return the cached content of the of this output stream as an input stream, before disposing it.CachedInputStream.newInputStream(InputStream is) Creates a newCachedInputStreamusing the same factory settings that were used to create this instance.CachedInputStream.newInputStream(Path file) Creates a newCachedInputStreamusing the same factory settings that were used to create this instance.CachedStreamFactory.newInputStream()Creates an empty input stream.CachedStreamFactory.newInputStream(File file) CachedStreamFactory.newInputStream(InputStream is) CachedStreamFactory.newInputStream(String content) Creates a new input stream, assuming UTF-8 content.CachedStreamFactory.newInputStream(Path path) Creates a new cached input stream.static CachedInputStreamCachedInputStream.nullInputStream()