Thursday, April 22, 2010

คำสั่ง เขียน method ของ class ไปเก็บไว้ที่ File

ที่ Command Prompt

C:\tmp>javap java.io.InputStream >is.txt

####################################################################

Output: c:\tmp\is.txt

####################################################################

Compiled from "InputStream.java"

public abstract class java.io.InputStream extends java.lang.Object implements java.io.Closeable{

public java.io.InputStream();

public abstract int read() throws java.io.IOException;

public int read(byte[]) throws java.io.IOException;

public int read(byte[], int, int) throws java.io.IOException;

public long skip(long) throws java.io.IOException;

public int available() throws java.io.IOException;

public void close() throws java.io.IOException;

public synchronized void mark(int);

public synchronized void reset() throws java.io.IOException;

public boolean markSupported();

}

No comments:

Post a Comment