Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید




This class is a
FilterInputStream that keeps track of the number
of lines of data that have been read. getLineNumber(
)
returns the current line number; setLineNumber(
)
sets the line number of the current line. Subsequent
lines are numbered starting from that number. This class is
deprecated as of Java 1.1 because it does not properly convert bytes
to characters. Use LineNumberReader instead.


Figure 9-31. java.io.LineNumberInputStream

public class 

LineNumberInputStream extends FilterInputStream {
// Public Constructors
public

LineNumberInputStream (InputStream

in );
// Public Instance Methods
public int

getLineNumber ( );
public void

setLineNumber (int

lineNumber );
// Public Methods Overriding FilterInputStream
public int

available ( ) throws IOException;
public void

mark (int

readlimit );
public int

read ( ) throws IOException;
public int

read (byte[ ]

b , int

off , int

len ) throws IOException;
public void

reset ( ) throws IOException;
public long

skip (long

n ) throws IOException;
}



/ 1191