- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getContentsAsStream (0.14 sec)
-
src/test/java/org/codelibs/core/xml/DomUtilTest.java
* @throws Exception */ public void testGetContentsAsStream() throws Exception { final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>"; assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8")); } /** * @throws Exception */ public void testToString() throws Exception { final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
* * @param contents * コンテンツ。{@literal null}であってはいけません * @return {@link InputStream} */ public static InputStream getContentsAsStream(final String contents) { assertArgumentNotNull("contents", contents); return getContentsAsStream(contents, null); } /** * 指定のエンコーディングでXMLの内容を {@link InputStream}として取得します。 * * @param contents
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.5K bytes - Viewed (0)