General

Programming Resource Home :: Java-Tutorials :: General

Advertisement

Advertisement




General
Tutorial ReadIPAddress
Here, we are going to explore a method to retrieve the IPAddress of the local system in a very simple example. For this, we use getByName() method of InetAddress class to create a object that contains IP address for the given host name. View Rating



General
Tutorial GetKeepAlive
In this section, you will show the used of several method for different output massage. Here, we provide a complete example based on the method for creating the Socket() method. Firstly create a class named of "getKeepAlive" and initialize a class Socket View Rating



General
Tutorial URLInformation
Here we are going to explain the method to find out the URL information. This program defines the IOException for the exception handling. This exception is thrown to indicate an I/O problem. View Rating



General
Tutorial GetHTTPHeader
In this section, you will learn how to get content-length, content- type, and last-modify date of a file. Here we provide a complete example that uses getHeaderFieldKey() method. Firstly create a class GetHTTPHeader and initialize a class URLConnection. T View Rating



General
Tutorial EncoderTest
This is a simple program of java network and supports the java.net package. Here, we have defined the class named EncoderTest.java. This class contains static methods for converting a String to the application-urlencoded MIME format. View Rating



General
Tutorial EchoClientSocket
In this section, we are going to explain the method to find out the hostname port number of a local machine. This program defines the IOException for the exception handling. This exception is thrown to indicate an I/O problem in the program. View Rating



General
Tutorial Client Socket Information
In this section, you will learn how to get client socket information. This is a very simple program of java network. Here, we have used the class named ClientSocketInformation.java that implement the constructor of the Socket class passing two arguments a View Rating



General
Tutorial Hiding Frame in Java
This section illustrates you how to hide the Java Awt frame. Here, you have seen in the given following example that provides you the complete code of the program. View Rating



General
Tutorial What are Chained Exceptions?
Whenever in a program the first exception causes an another exception, that is termed as Chained Exception. Java provides new functionality for chaining exceptions. View Rating



General
Tutorial Catching Normal Exceptions
The exceptions that are generated by methods are referred to as normal exceptions. We have already learned that to catch an exception we use try and catch block. View Rating
Page:  [<<]   65   66   67   68   69   70   71   72   73   74   75   76   77   78   79   80   81   82   83   84   85   86   87   88   89   90   91   92   93   94   95   96   97   98   99   100   101   102   103   104   105   106   107   108   109   110   111   112   113   114   115   116   117   118   119   120   121   122   123   124   125   126   127   128   129   130   131   132   133   134   135   136   137   138   139   140   141   142   143   144   145   146   147   148   149   150   151   152   153   154   155   156   157   158   159   160   161   162   163   164   165     [>>]

Send your comments, Suggestions or Queries regarding this site at [email protected].

Copyright © 2004. All rights reserved.