- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for created (0.17 sec)
-
src/main/java/org/codelibs/core/exception/ClRuntimeException.java
private final String message; private final String simpleMessage; /** * Creates {@link ClRuntimeException}. * * @param messageCode message code */ public ClRuntimeException(final String messageCode) { this(messageCode, new Object[0], null); } /** * Creates {@link ClRuntimeException}. * * @param messageCode message code
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/UuidUtilTest.java
* */ public class UuidUtilTest extends TestCase { /** * Test method for {@link org.codelibs.core.net.UuidUtil#create()}. */ public void testCreate() { final String uuid = UuidUtil.create(); System.out.println(uuid); final String uuid2 = UuidUtil.create(); System.out.println(uuid2); assertFalse(uuid.equals(uuid2)); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/OutputStreamUtil.java
* * @param file * ファイル。{@literal null}であってはいけません * @return ファイルへ出力する{@link FileOutputStream} * @see FileOutputStream#FileOutputStream(File) */ public static FileOutputStream create(final File file) { assertArgumentNotNull("file", file); try { return new FileOutputStream(file); } catch (final IOException e) { throw new IORuntimeException(e);
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/CopyUtil.java
assertArgumentNotNull("in", in); assertArgumentNotNull("out", out); final FileInputStream is = InputStreamUtil.create(in); try { final FileOutputStream os = OutputStreamUtil.create(out); try { return copyInternal(is, os); } finally { CloseableUtil.close(os); } } finally {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 52.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
* * @param file * ファイルパス。{@literal null}であってはいけません * @return 指定されたJarファイルを読み取るための<code>JarFile</code> */ public static JarFile create(final String file) { assertArgumentNotNull("file", file); try { return new JarFile(file); } catch (final IOException e) { throw new IORuntimeException(e); }
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/PropertiesUtilTest.java
* . */ @Test public void testLoadPropertiesReader() { final InputStreamReader inputStreamReader = ReaderUtil.create(ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties"), "UTF-8"); final Properties properties = new Properties(); PropertiesUtil.load(properties, inputStreamReader);
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/io/ReaderUtil.java
* 入力ストリーム。{@literal null}であってはいけません * @param encoding * 入力ストリームのエンコーディング。{@literal null}や空文字列であってはいけません * @return ファイルかへ出力する{@link Reader} */ public static InputStreamReader create(final InputStream is, final String encoding) { assertArgumentNotNull("is", is); assertArgumentNotEmpty("encoding", encoding); try { return new InputStreamReader(is, encoding);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
* * @param file * ファイルパス。{@literal null}や空文字列であってはいけません * @return 指定されたZipファイルを読み取るための<code>ZipFile</code> */ public static ZipFile create(final String file) { assertArgumentNotEmpty("file", file); try { return new ZipFile(file); } catch (final IOException e) { throw new IORuntimeException(e); }
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/naming/InitialContextUtil.java
* * @author higa */ public abstract class InitialContextUtil { /** * 初期コンテキストを作成して返します。 * * @return 初期コンテキスト */ public static InitialContext create() { try { return new InitialContext(); } catch (final NamingException ex) { throw new NamingRuntimeException(ex); } } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM)); /** * UUIDを作成します。 * * @return UUIDの文字列 */ public static String create() { final StringBuilder buf = new StringBuilder(BASE.length() * 2); buf.append(BASE); final int lowTime = (int) (System.currentTimeMillis() >> 32); StringUtil.appendHex(buf, lowTime);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0)