- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for arkite (0.18 sec)
-
src/main/java/org/codelibs/core/io/FileUtil.java
} } 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); } } public static void deleteInBackground(final File file) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
try { final FileChannel channel = os.getChannel(); final ByteBuffer buffer = ByteBuffer.wrap(in); return ChannelUtil.write(channel, buffer); } finally { CloseableUtil.close(os); } } /** * 指定されたエンコーディングのバイト配列からプラットフォームデフォルトエンコーディングのファイルへコピーします。 * * @param in
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 52.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
* バイトバッファ。{@literal null}であってはいけません * @return 書き込んだバイト数 */ public static int write(final FileChannel channel, final ByteBuffer buffer) { assertArgumentNotNull("channel", channel); assertArgumentNotNull("buffer", buffer); try { return channel.write(buffer); } catch (final IOException e) { throw new IORuntimeException(e); } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6K bytes - Viewed (0)