Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for assertArgumentNotNull (0.27 sec)

  1. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.sql;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    
    import org.codelibs.core.exception.SQLRuntimeException;
    
    /**
     * {@link PreparedStatement}用のユーティリティクラスです。
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.beans.impl;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import org.codelibs.core.beans.ParameterizedClassDesc;
    
    /**
     * {@link ParameterizedClassDesc}の実装クラスです。
     *
     * @author koichik
     */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.zip;
    
    import static org.codelibs.core.log.Logger.format;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.IOException;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipInputStream;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.log.Logger;
    
    /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/ModifierUtil.java

            assertArgumentNotNull("method", method);
    
            return isPublic(method.getModifiers());
        }
    
        /**
         * <code>public</code>かどうか返します。
         *
         * @param field
         *            フィールド。{@literal null}であってはいけません
         * @return パブリックかどうか
         */
        public static boolean isPublic(final Field field) {
            assertArgumentNotNull("field", field);
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/SchemaUtil.java

            assertArgumentNotNull("schema", schema);
            return newSchema(SchemaFactoryUtil.newRelaxNgSchemaFactory(), schema);
        }
    
        /**
         * URLからRELAX NGのための{@link Schema}を生成します。
         *
         * @param schema
         *            RELAX NGのURL。{@literal null}であってはいけません
         * @return {@link Schema}
         */
        public static Schema newRelaxNgSchema(final URL schema) {
            assertArgumentNotNull("schema", schema);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/sql/StatementUtil.java

     */
    package org.codelibs.core.sql;
    
    import static org.codelibs.core.log.Logger.format;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    
    import org.codelibs.core.exception.SQLRuntimeException;
    import org.codelibs.core.log.Logger;
    
    /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/xml/DomUtil.java

         * @param buf
         *            文字列バッファ。{@literal null}であってはいけません
         */
        public static void appendElement(final Element element, final StringBuilder buf) {
            assertArgumentNotNull("element", element);
            assertArgumentNotNull("buf", buf);
    
            final String tag = element.getTagName();
            buf.append('<');
            buf.append(tag);
            appendAttrs(element.getAttributes(), buf);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. 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);
            }
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         * @param in
         *            入力ストリーム。{@literal null}であってはいけません
         */
        public static void load(final Properties props, final InputStream in) {
            assertArgumentNotNull("props", props);
            assertArgumentNotNull("in", in);
    
            try {
                props.load(in);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/FieldUtil.java

            assertArgumentNotNull("field", field);
    
            return Modifier.isFinal(field.getModifiers());
        }
    
        /**
         * パラメタ化されたコレクション型のフィールドの要素型を返します。
         *
         * @param field
         *            パラメタ化されたコレクション型のフィールド。{@literal null}であってはいけません
         * @return コレクションの要素型
         */
        public static Class<?> getElementTypeOfCollection(final Field field) {
            assertArgumentNotNull("field", field);
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top