Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for parsePath (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

            String[] values;
    
            values = storageClient.parsePath("bucket/path");
            assertEquals("bucket", values[0]);
            assertEquals("path", values[1]);
    
            values = storageClient.parsePath("bucket/path1/path2");
            assertEquals("bucket", values[0]);
            assertEquals("path1/path2", values[1]);
    
            values = storageClient.parsePath("bucket/");
            assertEquals("bucket", values[0]);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                    if (!accessTimeoutTask.isCanceled()) {
                        accessTimeoutTask.cancel();
                    }
                }
            }
        }
    
        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
                final String[] values = path.split("/", 2);
                if (values.length == 2) {
                    return values;
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

        }
    
        public void test_parseDate() {
            Date date;
    
            date = FessFunctions.parseDate("");
            assertNull(date);
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56.123Z");
            assertEquals("2004-04-01T12:34:56.123Z", FessFunctions.formatDate(date));
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56Z");
            assertEquals("2004-04-01T12:34:56.000Z", FessFunctions.formatDate(date));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/fe.tld

        </example>
      </function>
    
      <function>
        <description>
          Returns Date from a given value.
        </description>
        <name>parseDate</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.util.Date parseDate(java.lang.String)</function-signature>
        <example>
          ${fe:parseDate(doc.tstamp)}
        </example>
      </function>
    
      <function>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 10K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (value == null) {
                return null;
            }
            return new Date(value);
        }
    
        public static Date parseDate(final String value) {
            return parseDate(value, Constants.DATE_OPTIONAL_TIME);
        }
    
        public static Date parseDate(final String value, final String format) {
            if (value == null) {
                return null;
            }
    
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                final Date lastModified = FessFunctions.parseDate(lastModifiedObj.toString());
                if (lastModified != null) {
                    return lastModified;
                }
            } else if (lastModifiedObj instanceof final String[] lastModifieds && lastModifieds.length > 0) {
                final Date lastModified = FessFunctions.parseDate(lastModifieds[0]);
                if (lastModified != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/date.js

    essage:"",errorMessageKey:"badTime"}),a.formUtils.addValidator({name:"birthdate",validatorFunction:function(c,d,e){var f="yyyy-mm-dd";d.valAttr("format")?f=d.valAttr("format"):"undefined"!=typeof e.dateFormat&&(f=e.dateFormat);var g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("age-range")||"0-124").split("-");if(d.trigger("ageCalculated",[k]),2!==l.length||!a.isNumeric(l[0])||!a.isNumeric(l[1]))throw new Error("Date range format invalid");return k>=...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            }
            if (clazz.isAssignableFrom(Date.class)) {
                if (value instanceof Date) {
                    return (T) value;
                }
                return (T) FessFunctions.parseDate(value.toString());
            }
            if (clazz.isAssignableFrom(Long.class)) {
                if (value instanceof Long) {
                    return (T) value;
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        return !validateDateTimeString(source.get(s));
                    }).collect(Collectors.toList()));
        }
    
        default boolean validateDateTimeString(final Object obj) {
            if (FessFunctions.parseDate(obj.toString()) != null) {
                return true;
            }
            return false;
        }
    
        String getIndexAdminIntegerFields();
    
        default Set<String> getIndexAdminIntegerFieldSet() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  10. api/go1.8.txt

    pkg net/http, type Transport struct, ProxyConnectHeader Header
    pkg net/http, var ErrAbortHandler error
    pkg net/http, var ErrServerClosed error
    pkg net/http, var NoBody noBody
    pkg net/mail, func ParseDate(string) (time.Time, error)
    pkg net, method (*Buffers) Read([]uint8) (int, error)
    pkg net, method (*Buffers) WriteTo(io.Writer) (int64, error)
    pkg net, method (*Resolver) LookupAddr(context.Context, string) ([]string, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
Back to top