Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  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.

Tutorial Details:

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.

The alphanumeric characters "a" through "z", "A" through "Z" and "0" through "9" remain the same. And the space characters ".", "-", "*", and "_" remain the same. The encoding string supports to the space character ? ? is converted into a plus sign ?+?. All other characters are unsafe and are first converted into one or more bytes using some encoding scheme.


 

Rate Tutorial:
http://www.roseindia.net/java/network/encodertest.shtml

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
EncoderTest

View Tutorial:
EncoderTest

Related Tutorials:

Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.