Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for adapted (0.11 sec)

  1. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertNotNull(r1, "First adapted resource must not be null");
            // For workgroup/server entries, names end with '/'
            assertTrue(r1.getName().endsWith("/"), "Name should end with '/'");
    
            assertTrue(itr.hasNext(), "Should have second element ready");
            SmbResource r2 = itr.next();
            assertNotNull(r2, "Second adapted resource must not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/DfsReferralData.java

        /**
         * Unwrap the referral data to a specific implementation type
         *
         * @param <T> the target type to unwrap to
         * @param type the class of the target type
         * @return the referral adapted to type
         * @throws ClassCastException
         *             if the type is not valid for this object
         */
        <T extends DfsReferralData> T unwrap(Class<T> type);
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/log/JclLoggerAdapterFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    import org.apache.commons.logging.LogFactory;
    
    /**
     * Factory for creating adapters that use (Jakarta) Commons Logging loggers.
     *
     * @author koichik
     */
    class JclLoggerAdapterFactory implements LoggerAdapterFactory {
    
        @Override
        public LoggerAdapter getLoggerAdapter(final Class<?> clazz) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/collection/IteratorEnumeration.java

     */
    package org.codelibs.core.collection;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Enumeration;
    import java.util.Iterator;
    
    /**
     * Adapter to convert an {@link Iterator} to an {@link Enumeration}.
     *
     * @author higa
     * @param <T> the element type
     */
    public class IteratorEnumeration<T> implements Enumeration<T> {
    
        /** 反復子 */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/LoggerAdapter.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    /**
     * Adapter for using any logging framework.
     *
     * @author koichik
     */
    interface LoggerAdapter {
    
        boolean isFatalEnabled();
    
        void fatal(String message);
    
        void fatal(String message, Throwable t);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

                if (this.filter == null) {
                    try {
                        return adapt(fe);
                    } catch (final MalformedURLException e) {
                        log.error("Failed to create child URL", e);
                        continue;
                    }
                }
    
                try (SmbResource r = adapt(fe)) {
                    if (this.filter.accept(r)) {
                        return r;
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    
    /**
     * Logger adapter for Jakarta Commons Logging.
     *
     * @author koichik
     */
    class JclLoggerAdapter implements LoggerAdapter {
    
        protected final String sourceClass;
    
        protected final Log logger;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/JulLoggerAdapter.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    import java.util.logging.Level;
    
    /**
     * Adapter that uses java.util.logging loggers.
     *
     * @author koichik
     */
    class JulLoggerAdapter implements LoggerAdapter {
    
        protected final String sourceClass;
    
        protected final java.util.logging.Logger logger;
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/EnumerationIterator.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Enumeration;
    import java.util.Iterator;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * Adapter to convert an {@link Enumeration} to an {@link Iterator}.
     *
     * @author shot
     * @param <T> the element type
     */
    public class EnumerationIterator<T> implements Iterator<T> {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/ArrayIterator.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    
    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * Adaptor that makes an array into an {@link Iterator}.
     * <p>
     * Usage example:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.ArrayIterator.*;
     *
     * String[] array = ...;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top