Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for BufferedReader (0.12 sec)

  1. src/main/java/org/codelibs/core/io/LineIterator.java

     *
     * BufferedReader reader = ...;
     * for (String line : iterable(reader)) {
     *     ...
     * }
     * </pre>
     *
     * @author koichik
     */
    public class LineIterator implements Iterator<String> {
    
        /** {@link #line}が空であることを示す{@literal String}オブジェクト */
        protected static final String EMPTY = new String();
    
        /** {@link BufferedReader} */
        protected final BufferedReader reader;
    
        /** 読み込み済みの文字列 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

        }
    
        protected static void updateDefaultBadwords() {
            if (defaultWords != null) {
                return;
            }
    
            final List<String> list = new ArrayList<>();
            try (BufferedReader br = new BufferedReader(new InputStreamReader(
                    Thread.currentThread().getContextClassLoader().getResourceAsStream("suggest_settings/default-badwords.txt")))) {
    
                String line;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    ioe.printStackTrace( log );
            }
            return result;
        }
    
        static void populate( Reader r ) throws IOException {
            String line;
            BufferedReader br = new BufferedReader( r );
    
            while(( line = br.readLine() ) != null ) {
                line = line.toUpperCase().trim();
                if( line.length() == 0 ) {
                    continue;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

            if (!enabled) {
                return null;
            }
    
            try {
                @SuppressWarnings("resource")
                final BufferedReader reader = new BufferedReader(new InputStreamReader(new BOMInputStream(stream), charsetName));
    
                String line;
                final RobotsTxt robotsTxt = new RobotsTxt();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            verifyTokenKeep(() -> asListHtml(this::saveToken));
    
            String header = null;
            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
                header = ReaderUtil.readLine(reader);
                if (header == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/Lmhosts.java

            }
            return result;
        }
    
    
        void populate ( Reader r, CIFSContext tc ) throws IOException {
            String line;
            BufferedReader br = new BufferedReader(r);
    
            while ( ( line = br.readLine() ) != null ) {
                line = line.toUpperCase().trim();
                if ( line.length() == 0 ) {
                    continue;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ReaderUtil.java

            }
        }
    
        /**
         * {@link BufferedReader}から一行読み込んで返します。
         *
         * @param reader
         *            {@link BufferedReader}。{@literal null}であってはいけません
         * @return 一行の文字列。終端に達した場合は{@literal null}
         * @see BufferedReader#readLine()
         */
        public static String readLine(final BufferedReader reader) {
            assertArgumentNotNull("reader", reader);
    
            try {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/InputStreamThread.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.io.BufferedReader;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.nio.charset.Charset;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.function.Consumer;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

            if (rawCommentText == null) {
                return;
            }
    
            StringBuilder builder = new StringBuilder();
            try {
                BufferedReader reader = new BufferedReader(new StringReader(rawCommentText));
                String line;
                while ((line = reader.readLine()) != null) {
                    line = line.replaceFirst("\\s*\\* ?", "");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

            }
        }
    
        protected void reload(final ProtwordsUpdater updater, final InputStream in) {
            final List<ProtwordsItem> itemList = new ArrayList<>();
            try (BufferedReader reader = new BufferedReader(new InputStreamReader(in, Constants.UTF_8))) {
                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top