- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ReaderUtil (1.7 sec)
-
src/main/java/org/codelibs/core/io/ReaderUtil.java
import org.codelibs.core.exception.IORuntimeException; /** * Utility class for {@link Reader} operations. * * @author higa */ public abstract class ReaderUtil { /** * Do not instantiate. */ protected ReaderUtil() { } /** Default buffer size */ private static final int BUF_SIZE = 4096; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
import java.io.InputStreamReader; import java.util.Locale; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.io.CopyUtil; import org.codelibs.core.io.ReaderUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.curl.CurlRequest; import org.codelibs.curl.CurlResponse; import org.codelibs.fess.Constants; import org.codelibs.fess.annotation.Secured;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
* . */ @Test public void testLoadPropertiesReader() { final InputStreamReader inputStreamReader = ReaderUtil.create(ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties"), "UTF-8"); final Properties properties = new Properties(); PropertiesUtil.load(properties, inputStreamReader);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
assertArgumentNotNull("in", in); assertArgumentNotEmpty("encoding", encoding); assertArgumentNotNull("out", out); final Reader is = ReaderUtil.create(wrap(in), encoding); return copyInternal(is, wrap(out)); } // //////////////////////////////////////////////////////////////// // from InputStream to File // /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 45.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
return readText(URLUtil.toFile(url), encoding); } final InputStream is = URLUtil.openStream(url); try { final Reader reader = ReaderUtil.create(new BufferedInputStream(is, DEFAULT_BUF_SIZE), encoding); return read(reader, DEFAULT_BUF_SIZE); } finally { CloseableUtil.close(is); } } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
assertArgumentNotNull("reader", reader); this.reader = reader; } @Override public boolean hasNext() { if (line == EMPTY) { line = ReaderUtil.readLine(reader); } return line != null; } @Override public String next() { if (!hasNext()) { throw new NoSuchElementException(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
import java.util.zip.GZIPOutputStream; import org.apache.commons.lang3.StringUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.io.ReaderUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.fess.Constants; import org.codelibs.fess.crawler.builder.RequestDataBuilder; import org.codelibs.fess.crawler.client.CrawlerClient;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
assertArgumentNotNull("props", props); assertArgumentNotNull("file", file); assertArgumentNotEmpty("encoding", encoding); final Reader reader = ReaderUtil.create(file, encoding); try { props.load(reader); } catch (final IOException e) { throw new IORuntimeException(e); } finally {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.9K bytes - Viewed (0)