- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for fos (0.02 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
File tempFile = null; FileOutputStream fos = null; try (final InputStream is = responseData.getResponseBody()) { tempFile = File.createTempFile("crawler-", ".tmp"); fos = new FileOutputStream(tempFile); CopyUtil.copy(is, fos); } catch (final Exception e) { CloseableUtil.closeQuietly(fos); // for deleting file
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
FileOutputStream fos = null; try { fos = new FileOutputStream(propertiesFile); properties.store(fos, propertiesFile.getName()); } catch (final IOException e) { throw new FileAccessException("ECL0112", new Object[] { propertiesFile.getAbsolutePath() }, e); } finally { if (fos != null) { try {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
} URL website = new URL(urlString); ReadableByteChannel rbc; rbc = Channels.newChannel(website.openStream()); FileOutputStream fos = new FileOutputStream(destination); fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); fos.close(); rbc.close(); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
File tempFile = null; LhaFile lhaFile = null; try { tempFile = File.createTempFile("crawler-", ".lzh"); try (FileOutputStream fos = new FileOutputStream(tempFile)) { CopyUtil.copy(in, fos); } lhaFile = new LhaFile(tempFile); @SuppressWarnings("unchecked") final Enumeration<LhaHeader> entries = lhaFile.entries();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
throw new IORuntimeException(e); } } public static void writeBytes(final String pathname, final byte[] bytes) { try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) { ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes)); } catch (final IOException e) { throw new IORuntimeException(e); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0)