Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for str (0.12 sec)

  1. src/main/java/org/codelibs/core/lang/StringUtil.java

        /**
         * ブランクかどうか返します。
         *
         * @param str
         *            文字列
         * @return ブランクなら{@literal true}
         */
        public static boolean isBlank(final String str) {
            if (str == null || str.length() == 0) {
                return true;
            }
            for (int i = 0; i < str.length(); i++) {
                if (!Character.isWhitespace(str.charAt(i))) {
                    return false;
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

            final Date date = toDate(str, locale);
            if (date != null) {
                return new Timestamp(date.getTime());
            }
            final Timestamp timestamp = toSqlTimestampJdbcEscape(str);
            if (timestamp != null) {
                return timestamp;
            }
            throw new ParseRuntimeException(str);
        }
    
        /**
         * 文字列を{@link Date}に変換します。
         *
         * @param str
         *            文字列
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

            final MyBean myBean = new MyBean();
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final PropertyDesc propDesc = beanDesc.getPropertyDesc("str");
            propDesc.setValue(myBean, new Integer(1));
            assertThat(myBean.str, is("1"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSetNullToString() throws Exception {
    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)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

            access = ServerMessageBlock.readInt4(buf, bi);
            bi += 4;
            sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(StringBuffer sb, String str, int width) {
            sb.append(str);
            int count = width - str.length();
            for (int i = 0; i < count; i++) {
                sb.append(' ');
            }
        }
        /**
         * Return a string represeting this ACE.
         * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                b[j++] = (byte)(c[i] >>> 0);
            }
            write( b, 0, blen );
        }
        public final void writeUTF( String str ) throws SmbException {
            int len = str.length();
            int ch, size = 0;
            byte[] dst;
    
            for( int i = 0; i < len; i++ ) {
                ch = str.charAt( i );
                size += ch > 0x07F ? (ch > 0x7FF ? 3 : 2) : 1;
            }
            dst = new byte[size];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/UUID.java

            node[1] = uuid.node[1];
            node[2] = uuid.node[2];
            node[3] = uuid.node[3];
            node[4] = uuid.node[4];
            node[5] = uuid.node[5];
        }
        public UUID(String str) {
            char[] arr = str.toCharArray();
            time_low = hex_to_bin(arr, 0, 8);
            time_mid = S(hex_to_bin(arr, 9, 4));
            time_hi_and_version = S(hex_to_bin(arr, 14, 4));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java

                return ((List<?>) value).stream().map(v -> v.toString()).toArray(n -> new String[n]);
            }
            String str = DfTypeUtil.toString(value);
            if (str == null) {
                return null;
            }
            return new String[] { str };
        }
    
        protected LocalDateTime toLocalDateTime(Object value) {
            return DfTypeUtil.toLocalDateTime(value);
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    sb.append( '/' );
                }
    
                str = sb.toString();
    
                int i = str.length() - 2;
                while( str.charAt( i ) != '/' ) {
                    i--;
                }
    
                return str.substring( 0, i + 1 );
            }
    
            return "smb1://";
        }
    
    /**
     * Returns the full uncanonicalized URL of this SMB resource. An
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  9. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

            }
            final Date date = toDate(str, locale);
            if (date != null) {
                return new Time(date.getTime());
            }
            final Time time = toSqlTimeJdbcEscape(str);
            if (time != null) {
                return time;
            }
            throw new ParseRuntimeException(str);
        }
    
        /**
         * 文字列を{@link Date}に変換します。
         *
         * @param str
         *            文字列
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/text/Tokenizer.java

         */
        public Tokenizer(final String str) {
            this(str, defaultCtype);
        }
    
        /**
         * {@link Tokenizer}を作成します。
         *
         * @param str
         *            文字列。{@literal null}であってはいけません
         * @param ctype
         *            文字のタイプの配列。{@literal null}や空配列であってはいけません
         */
        public Tokenizer(final String str, final byte[] ctype) {
            assertArgumentNotNull("str", str);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top