public static class CoreIOUtils.DefaultMultiReadItem extends Object implements MultiInput
| Constructor and Description |
|---|
DefaultMultiReadItem(CoreInput base,
String typeName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
copyTo(Path path) |
String |
getContentEncoding() |
String |
getContentType() |
Path |
getFilePath() |
net.thevpc.nuts.NutsString |
getFormattedName() |
Instant |
getLastModifiedInstant() |
String |
getName() |
Object |
getSource() |
String |
getTypeName() |
URL |
getURL() |
List<String> |
head(int count) |
boolean |
isFile() |
boolean |
isURL() |
long |
length() |
Stream<String> |
lines() |
MultiInput |
multi() |
InputStream |
open() |
List<String> |
tail(int count) |
String |
toString() |
public net.thevpc.nuts.NutsString getFormattedName()
getFormattedName in interface net.thevpc.nuts.NutsInputpublic String getName()
getName in interface net.thevpc.nuts.NutsInputpublic String getTypeName()
getTypeName in interface net.thevpc.nuts.NutsInputpublic void close()
close in interface AutoCloseableclose in interface net.thevpc.nuts.NutsInputpublic InputStream open()
open in interface net.thevpc.nuts.NutsInputpublic long length()
length in interface net.thevpc.nuts.NutsInputpublic Object getSource()
getSource in interface net.thevpc.nuts.NutsInputpublic boolean isFile()
isFile in interface net.thevpc.nuts.NutsInputpublic Path getFilePath()
getFilePath in interface net.thevpc.nuts.NutsInputpublic boolean isURL()
isURL in interface net.thevpc.nuts.NutsInputpublic URL getURL()
getURL in interface net.thevpc.nuts.NutsInputpublic String getContentType()
getContentType in interface net.thevpc.nuts.NutsInputpublic String getContentEncoding()
getContentEncoding in interface net.thevpc.nuts.NutsInputpublic Instant getLastModifiedInstant()
getLastModifiedInstant in interface net.thevpc.nuts.NutsInputpublic MultiInput multi()
Copyright © 2021 vpc open source initiative. All rights reserved.