- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for exists (0.23 sec)
-
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
final File file2 = ResourceUtil.getBuildDir("org/codelibs/core/io"); assertEquals(file, file2); final File junitJar = ResourceUtil.getBuildDir(TestCase.class); assertTrue(junitJar.exists()); final URL url = junitJar.toURI().toURL(); final URLClassLoader loader = new URLClassLoader(new URL[] { url }); loader.loadClass(TestCase.class.getName()); } /**
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
assertArgumentNotNull("rootDir", rootDir); assertArgumentNotNull("handler", handler); final File baseDir = getBaseDir(rootDir, baseDirectory); if (baseDir.exists()) { traverseFileSystem(rootDir, baseDir, handler); } } /** * Jarファイル形式のファイルに含まれるリソースをトラバースします。 * * @param jarFile
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
if (file == null) { throw new FileAccessException("ECL0108"); } this.propertiesFile = file; if (!this.propertiesFile.exists()) { final File parentDir = this.propertiesFile.getParentFile(); if (!parentDir.exists()) { if (!parentDir.mkdir()) { throw new FileAccessException("ECL0109", new Object[] { file.getAbsolutePath() }); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
*/ public static <K, V> V putIfAbsent(final ConcurrentMap<K, V> map, final K key, final V value) { final V exists = map.putIfAbsent(key, value); if (exists != null) { return exists; } return value; } /** * {@link Collection}が{@literal null}または要素が無い場合は{@literal true}を返します。 *
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 53.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
assertArgumentNotNull("rootDir", rootDir); assertArgumentNotNull("handler", handler); final File packageDir = getPackageDir(rootDir, rootPackage); if (packageDir.exists()) { traverseFileSystem(packageDir, rootPackage, handler); } } /** * Jarファイルに含まれるクラスをトラバースします。 * <p> * 指定されたJarファイルが拡張子<code>.war</code>を持つ場合は、 Jarファイル内のエントリのうち、 接頭辞
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
@Override public boolean isExistClass(final String className) { final File file = new File(baseDir, toClassFile(ClassUtil.concatName(rootPackage, className))); return file.exists(); } @Override public void forEach(final ClassHandler handler) { ClassTraversalUtil.forEach(baseDir, rootPackage, handler); } @Override
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 19.5K bytes - Viewed (0) -
src/main/resources/CLMessages.properties
ECL0099=Field({1}) of class({0}) is not a static field. ECL0100=Method({1}) of class({0}) is not a static method. ECL0101=File({0}) is not exist or not readable. ECL0102=File({0}) is not exist or not writable. ECL0103=Type({0}) is an interface not a class. ECL0104=Argument({0}) is not an array. ECL0105=Rethrew {0} as a runtime exception. ECL0106=IOException occurred, because {0}
Properties - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:58:02 GMT 2024 - 3.1K bytes - Viewed (0)