Package | Description |
---|---|
java.io |
Input/Output support
|
java.lang |
Core Java classes
|
java.net |
Network communication through TCP and UDP sockets or URLs.
|
java.util |
Utilities
|
Modifier and Type | Class and Description |
---|---|
class |
java.io.LineNumberInputStream
Deprecated.
This class incorrectly assumes that bytes adequately represent
characters. As of JDK 1.1, the preferred way to operate on
character streams is via the new character-stream classes, which
include a class for counting line numbers.
|
class |
java.io.StringBufferInputStream
Deprecated.
This class does not properly convert characters into bytes. As
of JDK 1.1, the preferred way to create a stream from a
string is via the
StringReader class. |
Modifier and Type | Method and Description |
---|---|
String |
DataInputStream.readLine()
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:
with:DataInputStream d = new DataInputStream(in); BufferedReader d = new BufferedReader(new InputStreamReader(in)); |
String |
ByteArrayOutputStream.toString(int hibyte)
Deprecated.
|
Constructor and Description |
---|
StreamTokenizer(InputStream is)
Deprecated.
As of JDK version 1.1, the preferred way to tokenize an
input stream is to convert it into a character stream, for example:
Reader r = new BufferedReader(new InputStreamReader(is)); StreamTokenizer st = new StreamTokenizer(r); |
Modifier and Type | Field and Description |
---|---|
static int |
Integer.MAX_RADIX
Deprecated.
use constant in
Character |
static int |
Integer.MIN_RADIX
Deprecated.
use constant in
Character |
Modifier and Type | Method and Description |
---|---|
static int |
Integer.digit(char ch,
int radix)
Deprecated.
use
Character.digit(char, int) instead. |
static int |
Integer.digit(int ch,
int radix)
Deprecated.
use
Character.digit(int, int) instead. |
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumclas,
String name)
Deprecated.
not implemented in TiJOS
|
Constructor and Description |
---|
String(byte[] b,
int hibyte)
Deprecated.
|
String(byte[] b,
int hibyte,
int off,
int len)
Deprecated.
|
Constructor and Description |
---|
Socket(InetAddress host,
int port,
boolean stream)
Deprecated.
Use the
DatagramSocket class to create
datagram oriented sockets. |
Socket(String host,
int port,
boolean stream)
Deprecated.
Use the
DatagramSocket class to create
datagram oriented sockets. |
Modifier and Type | Method and Description |
---|---|
int |
Date.getDate()
Deprecated.
Use Calendar instead of Date, and use get(Calendar.DATE)
instead.
|
int |
Date.getDay()
Deprecated.
Use Calendar instead of Date, and use get(Calendar.DAY_OF_WEEK)
instead.
|
int |
Date.getHours()
Deprecated.
Use Calendar instead of Date, and use get(Calendar.HOUR_OF_DAY)
instead.
|
int |
Date.getMinutes()
Deprecated.
Use Calendar instead of Date, and use get(Calendar.MINUTE)
instead.
|
int |
Date.getMonth()
Deprecated.
Use Calendar instead of Date, and use get(Calendar.MONTH)
instead.
|
int |
Date.getSeconds()
Deprecated.
Use Calendar instead of Date, and use get(Calendar.SECOND)
instead.
|
int |
Date.getYear()
Deprecated.
Use Calendar instead of Date, and use get(Calendar.YEAR)
instead. Note the 1900 difference in the year.
|
void |
Properties.save(OutputStream out,
String header)
Deprecated.
use
Properties.store(OutputStream, String) instead |
void |
Date.setDate(int date)
Deprecated.
Use Calendar instead of Date, and use
set(Calendar.DATE, date) instead.
|
void |
Date.setHours(int hours)
Deprecated.
Use Calendar instead of Date, and use
set(Calendar.HOUR_OF_DAY, hours) instead.
|
void |
Date.setMinutes(int minutes)
Deprecated.
Use Calendar instead of Date, and use
set(Calendar.MINUTE, minutes) instead.
|
void |
Date.setMonth(int month)
Deprecated.
Use Calendar instead of Date, and use
set(Calendar.MONTH, month) instead.
|
void |
Date.setSeconds(int seconds)
Deprecated.
Use Calendar instead of Date, and use
set(Calendar.SECOND, seconds) instead.
|
void |
Date.setYear(int year)
Deprecated.
Use Calendar instead of Date, and use
set(Calendar.YEAR, year) instead. Note about the 1900
difference in year.
|
Constructor and Description |
---|
Date(int year,
int month,
int day)
Deprecated.
use
new GregorianCalendar(year+1900, month,
day) instead. |
Date(int year,
int month,
int day,
int hour,
int min)
Deprecated.
use
new GregorianCalendar(year+1900, month,
day, hour, min) instead. |
Date(int year,
int month,
int day,
int hour,
int min,
int sec)
Deprecated.
use
new GregorianCalendar(year+1900, month,
day, hour, min, sec) instead. |