- Sort Score
- Result 10 results
- Languages All
Results 51 - 55 of 55 for openStream (0.14 sec)
-
src/main/java/org/codelibs/core/io/FileUtil.java
final URL url = ResourceUtil.getResource(path); if (url.getProtocol().equals("file")) { return readText(URLUtil.toFile(url), encoding); } final InputStream is = URLUtil.openStream(url); try { final Reader reader = ReaderUtil.create(new BufferedInputStream(is, DEFAULT_BUF_SIZE), encoding); return read(reader, DEFAULT_BUF_SIZE); } finally {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
} @Override @Nullable public Path getPath() { return null; } @Override @Nonnull public InputStream openStream() throws IOException { return new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8)); } @Override @Nonnull public String getLocation() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} } private static final class NullByteSink extends ByteSink implements Serializable { private static final NullByteSink INSTANCE = new NullByteSink(); @Override public OutputStream openStream() { return ByteStreams.nullOutputStream(); } } // Compare by toString() to satisfy 2 properties: // 1. compareTo(null) should throw NullPointerExceptionRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 21.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
try (InputStream is = Files.newInputStream(location)) { load(is); } } public void load(URL location) throws IOException { try (InputStream is = location.openStream()) { load(is); } } public void load(InputStream is) throws IOException { load(new InputStreamReader(is, DEFAULT_ENCODING)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 09:03:48 UTC 2025 - 38.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
try (InputStream is = Files.newInputStream(location)) { load(is); } } public void load(URL location) throws IOException { try (InputStream is = location.openStream()) { load(is); } } public void load(InputStream is) throws IOException { load(new InputStreamReader(is, DEFAULT_ENCODING)); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 38.4K bytes - Viewed (0)