Code example for DataOutputStream

Methods: writeShort

0
     * 
     * @param file Output file stream 
     * @throws IOException 
     */ 
    public final void dump( DataOutputStream file ) throws IOException {
        super.dump(file);
        file.writeShort(sourcefile_index);
    } 
 
 
    /** 
     * @return Index in constant pool of source file name. 
     */ 
    public final int getSourceFileIndex() { 
        return sourcefile_index;
    } 
 
 
    /** 
     * @param sourcefile_index 
     */