- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 62 for readSlice (0.09 sec)
-
src/main/java/org/codelibs/core/io/ReaderUtil.java
* @return 一行の文字列。終端に達した場合は{@literal null} * @see BufferedReader#readLine() */ public static String readLine(final BufferedReader reader) { assertArgumentNotNull("reader", reader); try { return reader.readLine(); } 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 - 4.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
import java.util.ArrayDeque; import java.util.Queue; import javax.annotation.CheckForNull; /** * A class for reading lines of text. Provides the same functionality as {@link * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of * {@link Reader}. * * @author Chris Nokleberg * @since 1.0 */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 3.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java
super(messageBuilderFactory, secDispatcher); } @Override protected int doExecute(DefaultEncryptInvoker.LocalContext context) throws Exception { String cleartext = context.reader.readLine("Enter the password to encrypt: ", '*'); context.terminal.writer().println(secDispatcher.encrypt(cleartext, null)); return OK; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java
super(messageBuilderFactory, secDispatcher); } @Override protected int doExecute(DefaultEncryptInvoker.LocalContext context) throws Exception { String encrypted = context.reader.readLine("Enter the password to decrypt: "); if (secDispatcher.isAnyEncryptedString(encrypted)) { context.terminal.writer().println(secDispatcher.decrypt(encrypted)); return OK; } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); UnsupportedOperationException expected = assertThrows(UnsupportedOperationException.class, () -> in.readLine()); assertThat(expected).hasMessageThat().isEqualTo("readLine is not supported"); } public void testReadLittleEndian() throws IOException { DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); UnsupportedOperationException expected = assertThrows(UnsupportedOperationException.class, () -> in.readLine()); assertThat(expected).hasMessageThat().isEqualTo("readLine is not supported"); } public void testReadLittleEndian() throws IOException { DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java
header = ReaderUtil.readLine(reader); if (header == null) { throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, "no header"), () -> asListHtml(this::saveToken)); return redirect(getClass()); // no-op } String line; while ((line = ReaderUtil.readLine(reader)) != 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) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
BufferedReader r = new BufferedReader(getChunkedReader(input, chunk)); List<String> lines = Lists.newArrayList(); String line; while ((line = r.readLine()) != null) { lines.add(line); } r.close(); return lines; } private static List<String> readUsingReader(String input, int chunk, boolean asReader) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
BufferedReader r = new BufferedReader(getChunkedReader(input, chunk)); List<String> lines = Lists.newArrayList(); String line; while ((line = r.readLine()) != null) { lines.add(line); } r.close(); return lines; } private static List<String> readUsingReader(String input, int chunk, boolean asReader) throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
*/ public static List<String> readLines(Readable r) throws IOException { List<String> result = new ArrayList<>(); LineReader lineReader = new LineReader(r); String line; while ((line = lineReader.readLine()) != null) { result.add(line); } return result; } /** * Streams lines from a {@link Readable} object, stopping when the processor returns {@code false}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 10.9K bytes - Viewed (0)