- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 57 for getName (0.19 sec)
-
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
import org.junit.rules.ExpectedException; import org.junit.rules.TemporaryFolder; /** * @author wyukawa * */ public class PropertiesUtilTest { URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt"); File inputFile = URLUtil.toFile(url); /** * */ @Rule public TemporaryFolder tempFolder = new TemporaryFolder(); /**
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/FieldNotFoundRuntimeException.java
* ターゲットクラス * @param fieldName * フィールド名 */ public FieldNotFoundRuntimeException(final Class<?> targetClass, final String fieldName) { super("ECL0070", asArray(targetClass.getName(), fieldName)); this.targetClass = targetClass; this.fieldName = fieldName; } /** * ターゲットクラスを返します。 * * @return ターゲットクラス */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
final int pos = prefix.length(); for (final JarEntry entry : iterable(jarFile.entries())) { if (!entry.isDirectory()) { final String entryName = entry.getName().replace('\\', '/'); if (!entryName.startsWith(prefix)) { continue; } final InputStream is = JarFileUtil.getInputStream(jarFile, entry);
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/test/java/org/codelibs/core/lang/ClassUtilTest.java
} /** * */ @Test public void testGetShortClassName() { assertThat(ClassUtil.getShortClassName(getClass().getName()), is("ClassUtilTest")); } /** * */ @Test(expected = NoSuchConstructorRuntimeException.class) public void testGetConstructor() {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
assertThat(new SimpleDateFormat("HH:mm:ss").format(calendar.getTime()), is("11:49:00")); } /** * @throws Exception */ @Test public void testToCalendar_MediumStyle() throws Exception { final Calendar calendar = toCalendar("11:49:10"); assertThat(new SimpleDateFormat("HH:mm:ss").format(calendar.getTime()), is("11:49:10")); } /** * @throws Exception
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java
} else if (o instanceof java.util.Date) { if (pattern != null) { return new Double(new SimpleDateFormat(pattern).format(o)); } return new Double(((java.util.Date) o).getTime()); } else { return toDouble(o.toString()); } } private static Double toDouble(final String s) { if (StringUtil.isEmpty(s)) { return null; }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
*/ @Test public void testToCalendar() throws Exception { final Date date = new Date(); final Calendar cal = CalendarConversionUtil.toCalendar(date); assertEquals(date, cal.getTime()); } /** * * @throws Exception */ @Test public void testLocalize() throws Exception { final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("JST"));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
final Date date = toDate(str, format); if (date != null) { return new java.sql.Date(date.getTime()); } } final Date date = toDate(str, locale); if (date != null) { return new java.sql.Date(date.getTime()); } final java.sql.Date sqlDate = toSqlDateJdbcEscape(str); if (sqlDate != null) { return sqlDate;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
count = 0; } /** * @throws Exception */ @Test public void testForEachJarFile() throws Exception { final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class"; final URL classURL = ResourceUtil.getResource(classFilePath); final JarURLConnection con = (JarURLConnection) classURL.openConnection();
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)