Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for IORuntimeException (0.1 sec)

  1. src/main/java/org/codelibs/core/exception/IORuntimeException.java

    /**
     * {@link IOException}をラップする例外です。
     *
     * @author higa
     */
    public class IORuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1533554330702215389L;
    
        /**
         * {@link IORuntimeException}を作成します。
         *
         * @param cause
         *            原因となった例外
         */
        public IORuntimeException(final IOException cause) {
            super("ECL0040", asArray(cause), cause);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link OutputStream}用のユーティリティクラスです。
     *
     * @author shot
     */
    public abstract class OutputStreamUtil {
    
        /**
         * {@link FileOutputStream}を作成します。
         *
         * @param file
    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/io/PropertiesUtil.java

    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.Writer;
    import java.net.URL;
    import java.nio.charset.Charset;
    import java.util.Properties;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.net.URLUtil;
    
    /**
     * {@link Properties}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class PropertiesUtil {
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        public static void writeBytes(final String pathname, final byte[] bytes) {
            try (FileOutputStream fos = OutputStreamUtil.create(new File(pathname))) {
                ChannelUtil.write(fos.getChannel(), ByteBuffer.wrap(bytes));
            } 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
    - 9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/nio/ChannelUtil.java

    import java.io.IOException;
    import java.nio.ByteBuffer;
    import java.nio.channels.Channel;
    import java.nio.channels.FileChannel;
    import java.nio.channels.FileChannel.MapMode;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link Channel}用のユーティリティです。
     *
     * @author koichik
     */
    public abstract class ChannelUtil {
    
        /**
         * ファイルチャネルをメモリにマップした{@link ByteBuffer}を返します。
         *
         * @param channel
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.io.FileUtil;
    import org.codelibs.fess.crawler.entity.ExtractData;
    import org.codelibs.fess.crawler.exception.ExecutionTimeoutException;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link JarInputStream}用のユーティリティクラスです。
     *
     * @author koichik
     */
    public abstract class JarInputStreamUtil {
    
        /**
         * {@link JarInputStream}を作成します。
         *
         * @param is
         *            入力ストリーム。{@literal null}であってはいけません
         * @return {@link JarInputStream}
         * @throws IORuntimeException
         *             {@link IOException}が発生した場合
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.IOException;
    
    import javax.xml.parsers.SAXParser;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.exception.SAXRuntimeException;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.DefaultHandler;
    
    /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/net/JarURLConnectionUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.IOException;
    import java.net.JarURLConnection;
    import java.util.jar.JarFile;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link JarURLConnection}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class JarURLConnectionUtil {
    
        /**
         * {@link JarURLConnection#getJarFile()}の例外処理をラップするメソッドです。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

    import org.apache.http.client.methods.HttpPost;
    import org.apache.http.client.methods.HttpUriRequest;
    import org.apache.http.message.BasicNameValuePair;
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.io.InputStreamUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.misc.Pair;
    import org.codelibs.core.stream.StreamUtil;
    import org.codelibs.fess.crawler.Constants;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (1)
Back to top