- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getContentsAsStream (0.13 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 Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
* @param contents * The content. Must not be {@literal null}. * @return {@link InputStream} */ public static InputStream getContentsAsStream(final String contents) { assertArgumentNotNull("contents", contents); return getContentsAsStream(contents, null); } /** * Retrieves the XML content as an {@link InputStream} with the specified encoding. * * @param contents
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.1K bytes - Viewed (0)