- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for PATH (0.23 sec)
-
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotEmpty("path", path); return getResourceNoException(path) != null; } /** * コンテキストクラスローダからプロパティファイルをロードして返します。 * * @param path * プロパティファイルのパス。{@literal null}や空文字列であってはいけません * @return プロパティファイル */ public static Properties getProperties(final String path) {
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) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
protected volatile Properties properties; public DynamicProperties(final String path) { this(path == null ? null : new File(path)); } public DynamicProperties(final Path path) { this(path == null ? null : path.toFile()); } public DynamicProperties(final File file) { // check path if (file == null) { throw new FileAccessException("ECL0108"); }
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/exception/ResourceNotFoundRuntimeException.java
private final String path; /** * {@link ResourceNotFoundRuntimeException}を作成します。 * * @param path * リソースのパス */ public ResourceNotFoundRuntimeException(final String path) { super("ECL0055", asArray(path)); this.path = path; } /** * パスを返します。 * * @return パス */
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/io/PropertiesUtil.java
* プロパティセット。{@literal null}であってはいけません * @param path * リソースのパス。{@literal null}や空文字列であってはいけません */ public static void load(final Properties props, final String path) { assertArgumentNotNull("props", props); assertArgumentNotEmpty("path", path); load(props, ResourceUtil.getResource(path)); } /**
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/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/io/FileUtil.java
} } /** * デフォルトエンコーディングでファイルからテキストを読み込みます。 * * @param path * ファイルのパス。{@literal null}や空文字列であってはいけません * @return 読み込んだテキスト */ public static String readText(final String path) { assertArgumentNotEmpty("path", path); return readText(path, Charset.defaultCharset().name()); } /** * デフォルトエンコーディングでファイルからテキストを読み込みます。 *
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/TraversalUtil.java
} @Override public void forEach(final ResourceHandler handler) { ResourceTraversalUtil.forEach(jarFile, (ResourceHandler) (path, is) -> { if (rootDir == null || path.startsWith(rootDir)) { handler.processResource(path, is); } }); } @Override public void close() { JarFileUtil.close(jarFile);
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/io/TraverserUtilTest.java
assertThat(traverser instanceof FileSystemTraverser, is(true)); final List<String> list = new ArrayList<String>(); traverser.forEach((ResourceHandler) (path, is) -> list.add(path)); assertThat(list.size(), is(1)); assertThat(list.get(0).endsWith("DummyTest.class"), 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 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
*/ public static final String LINE_SEPARATOR = System.getProperty("line.separator"); /** * <code>path.separator</code> システムプロパティ。例えばMac OS Xなら * <code>":"</code> */ public static final String PATH_SEPARATOR = System.getProperty("path.separator"); /** * <code>os.name</code> システムプロパティ。例:<code>Mac OS X</code> */
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/ClassTraversalUtil.java
/** WARファイルの拡張子 */ protected static final String WAR_FILE_EXTENSION = ".war"; /** WARファイル内のクラスファイルのエントリプレフィックス */ protected static final String WEB_INF_CLASSES_PATH = "WEB-INF/classes/"; /** * ルートディレクトリ配下を処理します。 * * @param rootDir * ルートディレクトリ。{@literal null}であってはいけません * @param handler
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.1K bytes - Viewed (0)