- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getPath (0.18 sec)
-
src/test/java/org/codelibs/core/io/FileUtilTest.java
} /** * @throws Exception */ @Test public void testReadUTF8() throws Exception { assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ")); } private String getPath(final String fileName) { return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
*/ public static String toJarFilePath(final URL jarUrl) { assertArgumentNotNull("jarUrl", jarUrl); final URL nestedUrl = URLUtil.create(jarUrl.getPath()); final String nestedUrlPath = nestedUrl.getPath(); final int pos = nestedUrlPath.lastIndexOf('!'); final String jarFilePath = nestedUrlPath.substring(0, pos);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
ResourceUtil.getResource("hoge", "xml"); fail("2"); } catch (final ResourceNotFoundRuntimeException e) { System.out.println(e); assertEquals("3", "hoge.xml", e.getPath()); } System.out.println(ResourceUtil.getResource(".")); } /** * @throws Exception */ public void testGetResourceAsStreamNoException() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
*/ public static File toFile(final URL fileUrl) { assertArgumentNotNull("fileUrl", fileUrl); try { final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8"); return new File(path).getAbsoluteFile(); } catch (final Exception e) { throw new ClRuntimeException("ECL0091", asArray(fileUrl), e); } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
* @return URLで指定されたZipファイルのパス */ public static String toZipFilePath(final URL zipUrl) { assertArgumentNotNull("zipUrl", zipUrl); final String urlString = zipUrl.getPath(); final int pos = urlString.lastIndexOf('!'); final String zipFilePath = urlString.substring(0, pos); final File zipFile = new File(URLUtil.decode(zipFilePath, "UTF8"));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
addTraverserFactory("code-source", (url, rootPackage, rootDir) -> new JarFileTraverser(URLUtil.create("jar:file:" + url.getPath()), rootPackage, rootDir)); addTraverserFactory("vfszip", VfsZipTraverser::new); } /** * {@link TraverserFactory}を追加します。 * * @param protocol
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/test/java/org/codelibs/core/collection/ArrayMapTest.java
@SuppressWarnings("unchecked") ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map); assertThat(copy.getAt(0), is(nullValue())); assertThat(copy.getAt(1), is("test")); assertThat(copy.getAt(2), is("test2")); assertThat(map.equals(copy), is(true)); } /** * @throws Exception */ @Test
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
*/ public static void appendText(final Text text, final StringBuilder buf) { assertArgumentNotNull("text", text); assertArgumentNotNull("buf", buf); buf.append(encodeText(text.getData())); } /** * {@link CDATASection}の文字列表現を追加します。 * * @param cdataSection * CDATAセクション。{@literal null}であってはいけません * @param buf
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/beans/impl/BeanDescImpl.java
return pd; } @Override public PropertyDesc getPropertyDesc(final int index) { assertArgumentArrayIndex("index", index, getPropertyDescSize()); return propertyDescCache.getAt(index); } @Override public int getPropertyDescSize() { return propertyDescCache.size(); } @Override public Iterable<PropertyDesc> getPropertyDescs() {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 26.1K bytes - Viewed (0)