| java.lang.Object org.netbeans.modules.sql.project.wsdl.IOUtil
IOUtil | public class IOUtil (Code) | | |
Method Summary | |
public static void | copy(InputStream input, OutputStream output) | public static void | copy(byte[] input, OutputStream output) | public static void | copy(Reader input, Writer output) | public static void | copy(byte[] input, Writer output) | public static void | copy(InputStream input, Writer output) | public static void | copy(Reader input, OutputStream output) | public static void | encode(InputStream input, String srcEncoding, OutputStream output, String targetEncoding) | public static byte[] | encode(byte[] srcBuf, String srcEncoding, String targetEncoding) | public static byte[] | getBytes(InputStream input) | public static byte[] | getBytes(String name) | public static byte[] | getBytes(Reader input) | public static InputStream | getResourceAsStream(String name) | public static Enumeration | getResources() | public static String | getText(InputStream input, String srcEncoding) | public static String | getText(String name, String srcEncoding) | public static String | getText(Reader input) | final public static void | main(String[] args) | public static void | unzip(String zipFilePath, String targetDirPath) |
copy | public static void copy(InputStream input, OutputStream output) throws IOException(Code) | | Copys the input stream to the output stream
Parameters: input - the input stream Parameters: output - the output stream exception: IOException - Description of the Exception |
copy | public static void copy(byte[] input, OutputStream output) throws IOException(Code) | | Copys the input bytes to the output stream
Parameters: input - the input bytes Parameters: output - the output stream exception: IOException - Description of the Exception |
copy | public static void copy(Reader input, Writer output) throws IOException(Code) | | Copys the input stream to the output stream
Parameters: input - the input stream Parameters: output - the output stream exception: IOException - Description of the Exception |
copy | public static void copy(byte[] input, Writer output) throws IOException(Code) | | Copys the input bytes to the output stream
Parameters: input - the input bytes Parameters: output - the output stream exception: IOException - Description of the Exception |
copy | public static void copy(InputStream input, Writer output) throws IOException(Code) | | Copys the input stream to the output stream
Parameters: input - the input stream Parameters: output - the output stream exception: IOException - Description of the Exception |
copy | public static void copy(Reader input, OutputStream output) throws IOException(Code) | | Copys the input stream to the output stream
Parameters: input - the input stream Parameters: output - the output stream exception: IOException - Description of the Exception |
getBytes | public static byte[] getBytes(InputStream input) throws IOException(Code) | | Returns the contents of the input stream as a byte array
Parameters: input - the input stream The byte array exception: IOException - Description of the Exception |
getBytes | public static byte[] getBytes(Reader input) throws IOException(Code) | | Returns the contents of the input stream as a byte array
Parameters: input - the input stream The byte array exception: IOException - Description of the Exception |
getText | public static String getText(InputStream input, String srcEncoding) throws IOException(Code) | | Returns the contents of the input stream as a String
Parameters: input - the input stream The text value exception: IOException - Description of the Exception |
getText | public static String getText(Reader input) throws IOException(Code) | | Returns the contents of the input stream as a String
Parameters: input - the input stream The text value exception: IOException - Description of the Exception |
|
|