Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 67 for assertArgumentNotNull (0.22 sec)

  1. src/main/java/org/codelibs/core/nio/ChannelUtil.java

         * @return ファイルチャネルをメモリにマップした{@link ByteBuffer}
         */
        public static ByteBuffer map(final FileChannel channel, final MapMode mode) {
            assertArgumentNotNull("channel", channel);
            assertArgumentNotNull("mode", mode);
    
            try {
                return channel.map(mode, 0, channel.size());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/IteratorEnumeration.java

            assertArgumentNotNull("iterator", iterator);
            this.iterator = iterator;
        }
    
        /**
         * {@link IteratorEnumeration}を作成します。
         *
         * @param iterable
         *            反復可能なオブジェクト。{@literal null}であってはいけません
         */
        public IteratorEnumeration(final Iterable<T> iterable) {
            assertArgumentNotNull("iterable", iterable);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

         * @see CopyOptionsUtil
         */
        protected static void copyBeanToBean(final Object src, final Object dest, final CopyOptions options) {
            assertArgumentNotNull("src", src);
            assertArgumentNotNull("dest", dest);
            assertArgumentNotNull("option", options);
    
            final BeanDesc srcBeanDesc = BeanDescFactory.getBeanDesc(src.getClass());
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         */
        public static void forEach(final JarFile jarFile, final String prefix, final ResourceHandler handler) {
            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("prefix", prefix);
            assertArgumentNotNull("handler", handler);
    
            final int pos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/FileUtil.java

     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         * @return 指定されたJarファイルエントリの内容を読み込むための入力ストリーム
         */
        public static InputStream getInputStream(final JarFile file, final ZipEntry entry) {
            assertArgumentNotNull("file", file);
            assertArgumentNotNull("entry", entry);
    
            try {
                return file.getInputStream(entry);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         */
        public static void forEach(final JarFile jarFile, final String prefix, final ClassHandler handler) {
            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("prefix", prefix);
            assertArgumentNotNull("handler", handler);
    
            final int startPos = prefix.length();
            for (final JarEntry entry : iterable(jarFile.entries())) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/InputStreamUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.codelibs.core.exception.IORuntimeException;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/MethodUtil.java

     */
    package org.codelibs.core.lang;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    import java.lang.reflect.Type;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ReaderUtil.java

     */
    package org.codelibs.core.io;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top