Searched defs:asByteSource (Results 1 - 4 of 4) sorted by relevance

/external/guava/guava/src/com/google/common/io/
H A DFileBackedOutputStream.java70 * {@link #asByteSource} is finalized.
82 * by {@link #asByteSource} is finalized.
88 * #asByteSource} is finalized
124 * {@link #asByteSource()}.
126 * @deprecated Use {@link #asByteSource()} instead. This method is scheduled
131 return asByteSource();
140 public ByteSource asByteSource() { method in class:FileBackedOutputStream
H A DResources.java57 * @deprecated Use {@link #asByteSource(URL)} instead. This method is
62 return ByteStreams.asInputSupplier(asByteSource(url));
70 public static ByteSource asByteSource(URL url) { method in class:Resources
92 return "Resources.asByteSource(" + url + ")";
120 return asByteSource(url).asCharSource(charset);
131 return asByteSource(url).read();
207 asByteSource(from).copyTo(to);
H A DFiles.java113 public static ByteSource asByteSource(File file) { method in class:Files
153 return "Files.asByteSource(" + file + ")";
218 return asByteSource(file).asCharSource(charset);
242 * @deprecated Use {@link #asByteSource(File)}. This method is scheduled for
248 return ByteStreams.asInputSupplier(asByteSource(file));
354 return asByteSource(file).read();
385 ByteStreams.asByteSource(from).copyTo(asByteSink(to));
406 * @deprecated Use {@code Files.asByteSource(from).copyTo(to)} after changing
413 asByteSource(from).copyTo(ByteStreams.asByteSink(to));
424 asByteSource(fro
[all...]
H A DByteStreams.java99 public static ByteSource asByteSource(byte[] b) { method in class:ByteStreams
132 return asByteSource(from).copyTo(asByteSink(to));
150 return asByteSource(from).copyTo(to);
307 return asByteSource(supplier).read();
757 return asByteSource(supplier).size();
770 return asByteSource(supplier1).contentEquals(asByteSource(supplier2));
940 return asByteSource(supplier).hash(hashFunction);
1003 return asInputSupplier(asByteSource(supplier).slice(offset, length));
1031 return asByteSource(inpu
1066 public static ByteSource asByteSource( method in class:ByteStreams
[all...]

Completed in 105 milliseconds