import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
/**
* 大写字符串用内存流转小写的两种方法
* @author ddmcc
*
*/
public class ByteArrayTest{
public static void main(String[] args) throws IOException{
test1();
}
public static void test1() throws IOException{
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
/**
* 大写字符串用内存流转小写的两种方法
* @author ddmcc
*
*/
public class ByteArrayTest{
public static void main(String[] args) throws IOException{
test1();
}
public static void test1() throws IOException{
String str = "ABCDEF";