Searched refs:createSource (Results 1 – 4 of 4) sorted by relevance
112 public CharSource createSource(String string) throws IOException { in asCharSourceFactory()113 return factory.createSource(string.getBytes(Charsets.UTF_8.name())) in asCharSourceFactory()173 public ByteSource createSource(byte[] bytes) throws IOException {174 return factory.createSource(bytes).slice(off, len);193 public CharSource createSource(String data) throws IOException {210 public ByteSource createSource(byte[] bytes) throws IOException {227 public CharSource createSource(String data) throws IOException {244 public ByteSource createSource(byte[] bytes) throws IOException {285 public ByteSource createSource(byte[] bytes) throws IOException {355 public CharSource createSource(String string) throws IOException {[all …]
59 S createSource(T data) throws IOException; in createSource() method
75 this.source = factory.createSource(data); in setUp()
115 source = factory.createSource(data); in setUp()