public interface IProducer<S>
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
bytes() |
IProducer |
consume(File source) |
IProducer |
consume(File source,
int offset,
int length) |
IProducer |
consume(InputStream source) |
IProducer |
consume(InputStream source,
int offset,
int length) |
IProducer |
consume(S source) |
IProducer |
consume(S source,
int offset,
int length) |
boolean |
exists() |
long |
length() |
long |
modified() |
boolean |
produce(File target) |
boolean |
produce(File target,
int offset,
int length) |
boolean |
produce(OutputStream target) |
boolean |
produce(OutputStream target,
int offset,
int length) |
S |
source() |
InputStream |
stream() |
String |
string() |
S source()
IProducer consume(InputStream source)
IProducer consume(InputStream source, int offset, int length)
boolean produce(OutputStream target)
boolean produce(OutputStream target, int offset, int length)
boolean produce(File target)
boolean produce(File target, int offset, int length)
byte[] bytes()
String string()
InputStream stream()
boolean exists()
long length()
long modified()
Copyright (c) 2002-2020 Luther Inc.