I am parsing the JDK 1.7 of Java and in the resulting model I have this list of methods in the class FileInputStream:
But in the file I'm attaching bellow from this JDK we can see this piece of code:
/**
* Creates a <code>FileInputStream</code> by
* opening a connection to an actual file,
* the file named by the path name <code>name</code>
* in the file system. A new <code>FileDescriptor</code>
* object is created to represent this file
* connection.
* <p>
* First, if there is a security
* manager, its <code>checkRead</code> method
* is called with the <code>name</code> argument
* as its argument.
* <p>
* If the named file does not exist, is a directory rather than a regular
* file, or for some other reason cannot be opened for reading then a
* <code>FileNotFoundException</code> is thrown.
*
* @param name the system-dependent file name.
* @exception FileNotFoundException if the file does not exist,
* is a directory rather than a regular file,
* or for some other reason cannot be opened for
* reading.
* @exception SecurityException if a security manager exists and its
* <code>checkRead</code> method denies read access
* to the file.
* @see java.lang.SecurityManager#checkRead(java.lang.String)
*/
public FileInputStream(String name) throws FileNotFoundException {
this(name != null ? new File(name) : null);
}
We see that this constructor is not present in the list of methods generated.
Code of the class:
FileInputStream.java
PS: With romain we tried to parse only java.io package and in that case we have the constructor. But parsing the whole JDK does not work
I am parsing the JDK 1.7 of Java and in the resulting model I have this list of methods in the class FileInputStream:
But in the file I'm attaching bellow from this JDK we can see this piece of code:
We see that this constructor is not present in the list of methods generated.
Code of the class:
FileInputStream.java
PS: With romain we tried to parse only java.io package and in that case we have the constructor. But parsing the whole JDK does not work