Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for enumeration (0.06 sec)

  1. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

         *
         * @param <T> the element type
         * @param enumeration the enumeration (must not be {@literal null})
         * @return an {@link Iterable} wrapping the enumeration
         */
        public static <T> Iterable<T> iterable(final Enumeration<T> enumeration) {
            assertArgumentNotNull("enumeration", enumeration);
    
            return () -> new EnumerationIterator<>(enumeration);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Enumeration;
    import java.util.Locale;
    import java.util.Map;
    import java.util.MissingResourceException;
    import java.util.ResourceBundle;
    
    import org.codelibs.core.misc.LocaleUtil;
    
    /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/EmptyEnumeration.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.collection;
    
    import java.util.Enumeration;
    
    /**
     * An empty {@link Enumeration}.
     *
     * @author higa
     * @param <T> the type of elements
     */
    public class EmptyEnumeration<T> extends IteratorEnumeration<T> {
    
        /**
         * Creates an {@link EmptyEnumeration}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 993 bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

        /**
         * Test method for
         * {@link org.codelibs.core.collection.EnumerationIterator#EnumerationIterator(Enumeration)}
         * .
         */
        @Test
        public void testCopyDestNull() {
            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[enumeration] is null."));
            new EnumerationIterator<Object>(null);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

         *            The class loader. Must not be {@literal null}.
         * @param name
         *            The resource name. Must not be {@literal null} or an empty string.
         * @return An enumeration of URL objects for the resources. If no resources are found, the enumeration will be empty.
         *         Resources that the class loader does not have access to will not be included.
         * @see java.lang.ClassLoader#getResources(String)
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.Enumeration;
    
    import org.codelibs.core.exception.SQLRuntimeException;
    import org.codelibs.core.lang.ClassUtil;
    
    /**
     * Utility class for {@link java.sql.DriverManager}.
     *
     * @author koichik
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

    import java.io.File;
    import java.io.IOException;
    import java.lang.reflect.Field;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Enumeration;
    import java.util.List;
    import java.util.jar.JarEntry;
    import java.util.jar.JarFile;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        private static final String API_FORMAT_TYPE = "apiFormatType";
    
        /** Path prefix for API endpoints. */
        protected String pathPrefix;
    
        /**
         * Enumeration of supported API format types.
         */
        protected enum FormatType {
            /** Search API format. */
            SEARCH,
            /** Label API format. */
            LABEL,
            /** Popular word API format. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

                        }
                    }
                    if (!flag) {
                        return false;
                    }
                }
            }
            return true;
        }
    
        /**
         * Enumeration of supported protocol types for URI validation.
         */
        public enum ProtocolType {
            /**
             * Web protocols (http, https, etc.).
             */
            WEB,
            /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                    }
                    request.setAttribute(USER_AGENT_TYPE, uaType);
                }
                return uaType;
            }).orElse(UserAgentType.OTHER);
        }
    
        /**
         * Enumeration of supported browser types for user agent detection.
         * Each type represents a major browser family that can be detected
         * from the User-Agent header string.
         */
        public enum UserAgentType {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top