- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for Close (0.16 sec)
-
src/main/java/org/codelibs/core/io/SerializeUtil.java
final ObjectOutputStream oos = new ObjectOutputStream(baos); try { oos.writeObject(obj); } finally { oos.close(); } return baos.toByteArray(); } catch (final IOException ex) { throw new IORuntimeException(ex); } } /** * {@literal byte}の配列をオブジェクトに変換します。
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
final FileOutputStream outputStream = OutputStreamUtil.create(file); PropertiesUtil.store(outProperties, outputStream, "comments"); CloseableUtil.close(outputStream); final Properties properties = new Properties(); PropertiesUtil.load(properties, file); assertThat(properties.getProperty("a"), is("A")); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
handler.processResource(path, is); } }); } @Override public void close() { JarFileUtil.close(jarFile); } } /** * JBossAS5のvfszipプロトコルで表されるリソースの集まりを扱うオブジェクトです。 * * @author koichik */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
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/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
try { handler.processResource(entryName.substring(pos), is); } finally { CloseableUtil.close(is); } } } } /** * ZIPファイル形式の入力ストリームに含まれるリソースをトラバースします。 * * @param zipInputStream
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/MimeTypeUtil.java
} return URLConnection.guessContentTypeFromName(path); } catch (final IOException e) { throw new IORuntimeException(e); } finally { CloseableUtil.close(is); } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
try { props.load(reader); } catch (final IOException e) { throw new IORuntimeException(e); } finally { CloseableUtil.close(reader); } } /** * プラットフォームデフォルトエンコーディングでファイルを読み込んで{@link Properties}にロードします(例外処理はラップします)。 * * @param props * プロパティセット。{@literal null}であってはいけません
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
throw new FileAccessException("ECL0112", new Object[] { propertiesFile.getAbsolutePath() }, e); } finally { if (fos != null) { try { fos.close(); } catch (final IOException e) { // ignore } } } lastModified = propertiesFile.lastModified(); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
try { props.load(is); return props; } catch (final IOException ex) { throw new IORuntimeException(ex); } finally { CloseableUtil.close(is); } } /** * パスの拡張子を返します。 * * @param path * パス。{@literal null}であってはいけません * @return 拡張子 */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 15.8K bytes - Viewed (0)