-
ca.coolman.io.BufferedReader.readLine()
Read a line of text.
@return a line of text, or null if the end of file was previouslyreached.
@throws IOException on error reading from the stream.
-
codec.UTF8InputStreamReader.readLine()
Read from UTF8 stream until end of line, and return the content as a Java String. A line is considered to be terminated by any one of a line feed ('\n'), a carriage return ('\r'), or a carriage return followed by a linefeed.
@return A String containing the contents of the line, not including anyline-termination characters, or null if the end of the stream has been reached.
@throws IOException if an I/O error occurs.
-
com.aragost.javahg.internals.HgInputStream.readLine()
-
com.caucho.quercus.lib.file.BinaryInput.readLine()
Reads a line from the buffer.
-
com.caucho.vfs.ReadStream.readLine()
Reads a line, returning a string.
-
com.dtolabs.rundeck.core.utils.PartialLineBuffer.readLine()
Read the next line if any, and remove it from the buffer.
-
com.github.sommeri.less4j.utils.w3ctestsextractor.common.SimpleFileReader.readLine()
-
com.google.code.com.sun.mail.util.LineInputStream.readLine()
Read a line containing only ASCII characters from the input stream. A line is terminated by a CR or NL or CR-NL sequence. A common error is a CR-CR-NL sequence, which will also terminate a line. The line terminator is not returned as part of the returned String. Returns null if no data is available.
This class is similar to the deprecated DataInputStream.readLine()
-
com.google.common.io.LineReader.readLine()
Reads a line of text. A line is considered to be terminated by any one of a line feed ( {@code '\n'}), a carriage return ( {@code '\r'}), or a carriage return followed immediately by a linefeed ( {@code "\r\n"}).
@return a {@code String} containing the contents of the line, notincluding any line-termination characters, or {@code null} if theend of the stream has been reached.
@throws IOException if an I/O error occurs
-
com.google.opengse.io.LineReader.readLine()
Read the next available line.
@return null if there are no more lines to read
@throws IOException if something went wrong
-
com.google.opengse.iobuffer.IOBufferLineReader.readLine()
-
com.googlecode.psiprobe.tools.BackwardsLineReader.readLine()
-
com.itextpdf.text.pdf.PdfReader.readLine()
-
com.liferay.portal.kernel.io.unsync.UnsyncBufferedReader.readLine()
-
com.oracle.truffle.r.runtime.RContext.ConsoleHandler.readLine()
-
com.orientechnologies.common.console.DefaultConsoleReader.readLine()
-
com.orientechnologies.common.console.OConsoleReader.readLine()
-
com.peterhi.obsolete.Stream.readLine()
-
com.stuffwithstuff.magpie.util.FileReader.readLine()
-
com.sun.appserv.management.util.misc.LineReaderImpl.readLine()
-
com.sun.cli.util.LineReaderImpl.readLine()
-
com.sun.mail.util.LineInputStream.readLine()
Read a line containing only ASCII characters from the input stream. A line is terminated by a CR or NL or CR-NL sequence. A common error is a CR-CR-NL sequence, which will also terminate a line. The line terminator is not returned as part of the returned String. Returns null if no data is available.
This class is similar to the deprecated DataInputStream.readLine()
-
com.sun.squawk.io.BufferedReader.readLine()
-
com.sun.star.io.XTextInputStream.readLine()
-
com.sun.xml.internal.messaging.saaj.packaging.mime.util.LineInputStream.readLine()
Read a line containing only ASCII characters from the input stream. A line is terminated by a CR or NL or CR-NL sequence. A common error is a CR-CR-NL sequence, which will also terminate a line. The line terminator is not returned as part of the returned String. Returns null if no data is available.
This class is similar to the deprecated DataInputStream.readLine()
-
com.sun.xml.messaging.saaj.packaging.mime.util.LineInputStream.readLine()
Read a line containing only ASCII characters from the input stream. A line is terminated by a CR or NL or CR-NL sequence. A common error is a CR-CR-NL sequence, which will also terminate a line. The line terminator is not returned as part of the returned String. Returns null if no data is available.
This class is similar to the deprecated DataInputStream.readLine()
-
de.axxeed.animosy.tools.FileHandler.readLine()
-
de.desy.tine.csvUtils.csv.readLine()
-
de.mhus.lib.io.TextStreamReader.readLine()
Reads a line of text.
@return the line of text without the '\n'
@throws RuntimeException if end-of-file
-
dwlab.base.files.TextFile.readLine()
-
edu.umd.cloud9.io.FSLineReader.readLine()
-
eu.stratosphere.runtime.fs.LineReader.readLine()
-
flanagan.io.FileInput.readLine()
-
freenet.support.io.LineReadingInputStream.readLine()
Read a \n or \r\n terminated line of UTF-8 or ISO-8859-1.
@param maxLength The maximum length of a line. If a line is longer than this, we throw IOException ratherthan keeping on reading it forever.
@param bufferSize The initial size of the read buffer.
@param utf If true, read as UTF-8, if false, read as ISO-8859-1.
-
gate.util.BomStrippingInputStreamReader.readLine()
-
gnu.java.net.LineInputStream.readLine()
-
htsjdk.samtools.util.BufferedLineReader.readLine()
-
htsjdk.samtools.util.LineReader.readLine()
-
htsjdk.tribble.readers.AsciiLineReader.readLine()
-
io.ADXTextFile.readLine()
Read a line of the text file and increments the cursor.
@return String read
-
it.unimi.dsi.fastutil.io.FastBufferedInputStream.readLine()
Reads a line into the given byte array using {@linkplain #ALL_TERMINATORS all terminators}.
@param array byte array where the next line will be stored.
@return the number of bytes actually placed in array
, or -1 at end of file.
@see #readLine(byte[],int,int,EnumSet)
-
it.unimi.dsi.io.FastBufferedReader.readLine()
-
java.io.BufferedInputStream.readLine()
-
java.io.BufferedReader.readLine()
Answers a String
representing the next line of text available in this BufferedReader. A line is represented by 0 or more characters followed by '\n'
, '\r'
, '\r\n'
or end of stream. The String
does not include the newline sequence.
@return the contents of the line or null if no characters were readbefore end of stream.
@throws IOException If the BufferedReader is already closed or some other IO error occurs.
-
java.io.BufferedWriter.readLine()
-
java.io.Console.readLine()
Provides a formatted prompt, then reads a single line of text from the console.
@param fmt A format string as described in
Format string syntax.
@param args Arguments referenced by the format specifiers in the format string. If there are more arguments than format specifiers, the extra arguments are ignored. The maximum number of arguments is limited by the maximum dimension of a Java array as defined by
The Java™ Virtual Machine Specification.
@throws IllegalFormatException If a format string contains an illegal syntax, a format specifier that is incompatible with the given arguments, insufficient arguments given the format string, or other illegal conditions. For specification of all possible formatting errors, see the
Details section of the formatter class specification.
@throws IOError If an I/O error occurs.
@return A string containing the line read from the console, notincluding any line-termination characters, or
null if an end of stream has been reached.
-
java.io.DataInput.readLine()
Answers a String
representing the next line of text available in this BufferedReader. A line is represented by 0 or more characters followed by '\n'
, '\r'
, "\n\r"
or end of stream. The String
does not include the newline sequence.
@return the contents of the line or null if no characters were readbefore end of stream.
@throws IOException If a problem occurs reading from this stream.
-
java.io.DataInputStream.readLine()
See the general contract of the
readLine
method of
DataInput
.
Bytes for this operation are read from the contained input stream.
@deprecated This method does not properly convert bytes to characters.As of JDK 1.1, the preferred way to read lines of text is via the BufferedReader.readLine()
method. Programs that use the DataInputStream
class to read lines can be converted to use the BufferedReader
class by replacing code of the form:
DataInputStream d = new DataInputStream(in);
with:
BufferedReader d = new BufferedReader(new InputStreamReader(in));
@return the next line of text from this input stream.
@exception IOException if an I/O error occurs.
@see java.io.BufferedReader#readLine()
@see java.io.FilterInputStream#in
-
java.io.DataOutputStream.readLine()
-
java.io.InputStream.readLine()
-
java.io.LineNumberReader.readLine()
Answers a String
representing the next line of text available in this LineNumberReader. A line is represented by 0 or more characters followed by '\n'
, '\r'
, "\n\r"
or end of stream. The String
does not include the newline sequence.
@return String the contents of the line or null if no characters wereread before end of stream.
@throws IOException If the LineNumberReader is already closed or some other IO error occurs.
-
java.io.RandomAccessFile.readLine()
Answers a String
representing the next line of text available in this BufferedReader. A line is represented by 0 or more characters followed by '\n'
, '\r'
, "\n\r"
or end of stream. The String
does not include the newline sequence.
@return String the contents of the line or null if no characters wereread before end of stream.
@throws IOException If the BufferedReader is already closed or some other IO error occurs.
-
java.net.URL.readLine()
-
javax.imageio.stream.ImageInputStream.readLine()
Reads the next line of text from the input stream. It reads successive bytes, converting each byte separately into a character, until it encounters a line terminator or end of file; the characters read are then returned as a
String
. Note that because this method processes bytes, it does not support input of the full Unicode character set.
If end of file is encountered before even one byte can be read, then null
is returned. Otherwise, each byte that is read is converted to type char
by zero-extension. If the character '\n'
is encountered, it is discarded and reading ceases. If the character '\r'
is encountered, it is discarded and, if the following byte converts to the character '\n'
, then that is discarded also; reading then ceases. If end of file is encountered before either of the characters '\n'
and '\r'
is encountered, reading ceases. Once reading has ceased, a String
is returned that contains all the characters read and not discarded, taken in order. Note that every character in this string will have a value less than \u0100
, that is, (char)256
.
The bit offset within the stream is reset to zero before the read occurs.
@return a String containing a line of text from the stream.
@exception IOException if an I/O error occurs.
-
javax.imageio.stream.MemoryCacheImageInputStream.readLine()
-
javax.servlet.ServletInputStream.readLine()
-
jline.ConsoleReader.readLine()
Read the next line and return the contents of the buffer.
-
jline.console.ConsoleReader.readLine()
Read the next line and return the contents of the buffer.
-
jmt.engine.dataAnalysis.measureOutputs.VerboseCSVMeasureOutputReader.readLine()
Reads a line from the verbose CSV
@return true if more lines are available, false otherwise
@throws IOException when a data access error happens
@throws ParseException when data is not well formed
-
joshua.util.io.LineReader.readLine()
This method is like next() except that it throws the IOException directly. If there are no lines to be read then null is returned.
-
net.java.textilej.util.LocationTrackingReader.readLine()
Read a line of text, omitting the line delimiters.
@return the text or null if the end of input has been reached
@see #getLineOffset()
-
net.rim.device.api.io.LineReader.readLine()
-
net.sf.csv4j.CSVReader.readLine()
-
org.apache.cassandra.io.util.RandomAccessReader.readLine()
-
org.apache.catalina.startup.SimpleHttpClient.readLine()
-
org.apache.commons.io.input.ReversedLinesFileReader.readLine()
Returns the lines of the file from bottom to top.
@return the next line or null if the start of the file is reached
@throws IOException if an I/O error occurs
-
org.apache.commons.net.io.DotTerminatedMessageReader.readLine()
Read a line of text. A line is considered to be terminated by carriage return followed immediately by a linefeed. This contrasts with BufferedReader which also allows other combinations.
@since 3.0
-
org.apache.geronimo.gshell.console.PromptReader.readLine()
-
org.apache.hadoop.fs.FSDataInputStream.readLine()
-
org.apache.hadoop.mapred.LineRecordReader.LineReader.readLine()
-
org.apache.hadoop.util.LineReader.readLine()
Read one line from the InputStream into the given Text.
@param str the object to store the given line (without newline)
@param maxLineLength the maximum number of bytes to store into str;the rest of the line is silently discarded.
@param maxBytesToConsume the maximum number of bytes to consumein this call. This is only a hint, because if the line cross this threshold, we allow it to happen. It can overshoot potentially by as much as one buffer length.
@return the number of bytes read including the (longest) newlinefound.
@throws IOException if the underlying stream throws
-
org.apache.http.impl.SessionInputBufferMock.readLine()
-
org.apache.http.impl.nio.reactor.SessionInputBuffer.readLine()
-
org.apache.http.mockup.HttpDataReceiverMockup.readLine()
-
org.apache.http.mockup.SessionInputBufferMockup.readLine()
-
org.apache.http.nio.impl.reactor.SessionInputBuffer.readLine()
-
org.apache.http.nio.reactor.SessionInputBuffer.readLine()
-
org.apache.james.mime4j.io.BufferedLineReaderInputStream.readLine()
-
org.apache.james.mime4j.io.LineReaderInputStream.readLine()
Reads one line of text into the given {@link ByteArrayBuffer}.
@param dst Destination
@return number of bytes copied or -1
if the end ofthe stream has been reached.
@throws MaxLineLimitException if the line exceeds a limit onthe line length imposed by a subclass.
@throws IOException in case of an I/O error.
-
org.apache.james.mime4j.io.LineReaderInputStreamAdaptor.readLine()
-
org.apache.james.mime4j.io.MimeBoundaryInputStream.readLine()
-
org.apache.jmeter.services.FileServer.readLine()
Get the next line of the named file, recycle by default.
@param filename
@return String containing the next line in the file
@throws IOException
-
org.apache.tika.detect.AutoDetectReader.readLine()
-
org.browsermob.proxy.jetty.util.LineInput.readLine()
Read a line ended by CR, LF or CRLF. The default or supplied encoding is used to convert bytes to characters.
@return The line as a String or null for EOF.
@exception IOException
-
org.crsh.shell.ShellProcessContext.readLine()
-
org.cyclopsgroup.jmxterm.io.CommandInput.readLine()
@return A line of input
@throws IOException
-
org.eclipse.jface.internal.text.link.contentassist.LineBreakingReader.readLine()
Reads the next line. The lengths of the line will not exceed the given maximum width.
@return the next line
@throws IOException
-
org.eclipse.orion.server.core.EndingAwareLineReader.readLine()
Returns next line from reader and sets lineDelimiter to proper line ending
@return String containing the next line
@throws IOException
-
org.eclipse.wst.sse.ui.internal.StructuredTextLineBreakingReader.readLine()
Reads the next line. The lengths of the line will not exceed the gived maximum width.
-
org.erlide.ui.util.eclipse.text.LineBreakingReader.readLine()
Reads the next line. The lengths of the line will not exceed the given maximum width.
@return the next line
@throws IOException
-
org.exist.versioning.svn.core.internal.io.fs.FSFile.readLine()
-
org.jboss.as.test.integration.management.util.CLIWrapper.readLine()
Non blocking read from CLI output.
@return next line from CLI output or null if the output is empty
-
org.jboss.netty.buffer.ChannelBufferInputStream.readLine()
-
org.jgroups.util.ByteArrayDataInputStream.readLine()
-
org.jstripe.tomcat.probe.tools.LineReader.readLine()
-
org.jwat.common.ByteCountingPushBackInputStream.readLine()
Read a single line into a string.
@return single string line
@throws IOException if an i/o error occurs while reading line
-
org.onebusaway.gtfs.serialization.GtfsReader.readLine()
-
org.openqa.jetty.util.LineInput.readLine()
Read a line ended by CR, LF or CRLF. The default or supplied encoding is used to convert bytes to characters.
@return The line as a String or null for EOF.
@exception IOException
-
org.python.pydev.core.FastBufferedReader.readLine()
Fills the buffer with the line. Returns null if there was nothing to read, otherwise, returns the internal buffer properly filled. Note that the same buffer will be used on a subsequent call.
-
org.renjin.primitives.io.connections.PushbackBufferedReader.readLine()
-
org.sonatype.gshell.util.io.PromptReader.readLine()
-
org.subethamail.smtp.io.CRLFTerminatedReader.readLine()
Read a line of text which is terminated by CRLF. The concluding CRLF characters are not returned with the String, but if either CR or LF appears in the text in any other sequence it is returned in the String like any other character. Some characters at the end of the stream may be lost if they are in a "line" not terminated by CRLF.
@return either a String containing the contents of aline which must end with CRLF, or null if the end of the stream has been reached, possibly discarding some characters in a line not terminated with CRLF.
@throws IOException if an I/O error occurs.
-
org.tmatesoft.svn.core.internal.io.fs.FSFile.readLine()
-
org.xilaew.jampl.CLI.readLine()
Reads the console output of AMPL line by line. This method is blocking. When there can�t be read any more e.g. because the AMPL subprocess has terminated null will be returned.
@return one line of console output from AMPL
@throws IOException
-
org.xmlBlaster.client.protocol.http.common.BufferedInputStreamMicro.readLine()
-
scala.tools.jline.console.ConsoleReader.readLine()
Read the next line and return the contents of the buffer.
-
sunlabs.brazil.util.http.HttpInputStream.readLine()
Reads the next line of text from the input stream.
A line is terminated by "\r", "\n", "\r\n", or the end of the input stream. The line-terminating characters are discarded.
@return The next line from the input stream, or null
if the end of the input stream is reached and no bytes were found.
@throws IOException if the underlying input stream throws anIOException while being read.
-
ucar.unidata.io.RandomAccessFile.readLine()
Reads the next line of text from this file. This method successively reads bytes from the file, starting at the current file pointer, until it reaches a line terminator or the end of the file. Each byte is converted into a character by taking the byte's value for the lower eight bits of the character and setting the high eight bits of the character to zero. This method does not, therefore, support the full Unicode character set.
A line of text is terminated by a carriage-return character ('\r'
), a newline character ('\n'
), a carriage-return character immediately followed by a newline character, or the end of the file. Line-terminating characters are discarded and are not included as part of the string returned.
This method blocks until a newline character is read, a carriage return and the byte following it are read (to see if it is a newline), the end of the file is reached, or an exception is thrown.
@return the next line of text from this file, or null if endof file is encountered before even one byte is read.
@exception IOException if an I/O error occurs.