Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 89 for init (0.17 sec)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

         * @param out
         *            出力ストリーム
         * @return コピーしたバイト数
         */
        protected static int copyInternal(final InputStream in, final OutputStream out) {
            try {
                final byte[] buf = new byte[DEFAULT_BUF_SIZE];
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    out.write(buf, 0, len);
                    amount += len;
    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)
  2. 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
    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)
  3. src/main/java/org/codelibs/core/exception/ClSQLException.java

         * @param sqlState
         *            SQLステート
         * @param vendorCode
         *            ベンダーコード
         */
        public ClSQLException(final String messageCode, final Object[] args, final String sqlState, final int vendorCode) {
            this(messageCode, args, sqlState, vendorCode, null, null);
        }
    
        /**
         * {@link ClSQLException}を作成します。
         *
         * @param messageCode
         *            メッセージコード
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

     *
     * @author higa
     * @see TimeConversionUtil
     * @see TimestampConversionUtil
     */
    public abstract class DateConversionUtil {
    
        /** {@link DateFormat}が持つスタイルの配列 */
        protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL };
    
        /**
         * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。
         *
         * @return {@link DateFormat#SHORT}スタイルのパターン文字列
         */
    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)
  5. src/main/java/org/codelibs/core/net/UuidUtil.java

         * 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);
            StringUtil.appendHex(buf, RANDOM.nextInt());
            return buf.toString();
        }
    
        private static byte[] getAddress() {
    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)
  6. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
                super.close();
                notify_ = "closed";
            }
    
            public String getNotify() {
    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)
  7. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

    import junit.framework.TestCase;
    
    import org.codelibs.core.jar.JarFileUtil;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ResourceTraversalTest {
    
        private static int count = 0;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/LocaleUtil.java

         */
        public static Locale getLocale(final String localeStr) {
            // TODO replace with Fess
            Locale locale = LocaleUtil.getDefault();
            if (localeStr != null) {
                final int index = localeStr.indexOf('_');
                if (index < 0) {
                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
    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)
  9. src/main/java/org/codelibs/core/sql/ResultSetUtil.java

         * @param index
         *            位置
         * @return 指定した位置まで進めたかどうか
         * @throws SQLRuntimeException
         *             SQL例外が起こった場合。
         */
        public static boolean absolute(final ResultSet resultSet, final int index) throws SQLRuntimeException {
            assertArgumentNotNull("resultSet", resultSet);
    
            try {
                return resultSet.absolute(index);
            } catch (final SQLException ex) {
    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)
  10. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

        private static Class<?>[] toClassArray(final Object... methodArgs) {
            if (methodArgs == null) {
                return null;
            }
            final Class<?>[] result = new Class[methodArgs.length];
            for (int i = 0; i < methodArgs.length; ++i) {
                if (methodArgs[i] != null) {
                    result[i] = methodArgs[i].getClass();
                }
            }
            return result;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top