Package | Description |
---|---|
com.norconex.commons.lang.io |
Utility classes when dealing with files and directories.
|
Modifier and Type | Method and Description |
---|---|
static CachedInputStream |
CachedInputStream.cache(InputStream is)
Casts to
CachedInputSteam if argument is already of that
type, else create a new CachedInputStream from the input
stream argument using default CachedStreamFactory settings. |
static CachedInputStream |
CachedInputStream.cache(InputStream is,
CachedStreamFactory streamFactory)
Casts to
CachedInputSteam if argument is already of that
type, else create a new CachedInputStream from the input
stream argument using the given stream factory
(or defaults if null ). |
CachedInputStream |
CachedOutputStream.getInputStream() |
CachedInputStream |
CachedStreamFactory.newInputStream()
Creates an empty input stream.
|
CachedInputStream |
CachedStreamFactory.newInputStream(File file) |
CachedInputStream |
CachedInputStream.newInputStream(InputStream is)
Creates a new
CachedInputStream using the same factory settings
that were used to create this instance. |
CachedInputStream |
CachedStreamFactory.newInputStream(InputStream is) |
CachedInputStream |
CachedInputStream.newInputStream(Path file)
Creates a new
CachedInputStream using the same factory settings
that were used to create this instance. |
CachedInputStream |
CachedStreamFactory.newInputStream(Path path)
Creates a new cached input stream.
|
CachedInputStream |
CachedStreamFactory.newInputStream(String content)
Creates a new input stream, assuming UTF-8 content.
|
Copyright © 2008–2023 Norconex Inc.. All rights reserved.