CloneSet32


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
171201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117652
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeBigDecimal.java
218502
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeBoolean.java
317536
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeByte.java
417760
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeClob.java
517690
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeDate.java
617580
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeDouble.java
717582
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeFloat.java
817564
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeInteger.java
917535
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeLong.java
1017536
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeShort.java
1117635
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTime.java
1217657
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTimestamp.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
652
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeBigDecimal.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 * 
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
2
Line Count
18
Source Line
502
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeBoolean.java

/**
 * Construct an appropriate external representation of the object and write it to a file. Errors are
 * returned by throwing an IOException containing the cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text text from a Popup JTextArea can be converted
 * to an object. This text-to-object conversion is the same as validateAndConvertInPopup, which may be used
 * internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning. Typically it will create
 * another object (e.g. an OutputWriter), and that is the object that must be flushed and closed.
 * <P>
 * File is assumed to be and ASCII string of digits representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
3
Line Count
17
Source Line
536
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeByte.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 * 
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
4
Line Count
17
Source Line
760
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeClob.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 *
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
5
Line Count
17
Source Line
690
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeDate.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 * 
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
6
Line Count
17
Source Line
580
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeDouble.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 *
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
7
Line Count
17
Source Line
582
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeFloat.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 *
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
8
Line Count
17
Source Line
564
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeInteger.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 * 
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
9
Line Count
17
Source Line
535
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeLong.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 * 
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
10
Line Count
17
Source Line
536
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeShort.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 * 
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Next
Previous
Clone Instance
11
Line Count
17
Source Line
635
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTime.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 *
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


First
Previous
Clone Instance
12
Line Count
17
Source Line
657
Source File
E:/TSE/Projects-CloneDR/sql12/fw/src/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeTimestamp.java

/**
 * Construct an appropriate external representation of the object
 * and write it to a file.
 * Errors are returned by throwing an IOException containing the
 * cause of the problem as its message.
 * <P>
 * DataType is responsible for validating that the given text
 * text from a Popup JTextArea can be converted to an object.
 * This text-to-object conversion is the same as validateAndConvertInPopup,
 * which may be used internally by the object to do the validation.
 * <P>
 * The DataType object must flush and close the output stream before returning.
 * Typically it will create another object (e.g. an OutputWriter), and
 * that is the object that must be flushed and closed.
 *
 * <P>
 * File is assumed to be and ASCII string of digits
 * representing a value of this data type.
 */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
          * Construct an appropriate external representation of the object
          * and write it to a file.
          * Errors are returned by throwing an IOException containing the
          * cause of the problem as its message.
          * <P>
          * DataType is responsible for validating that the given text
          * text from a Popup JTextArea can be converted to an object.
          * This text-to-object conversion is the same as validateAndConvertInPopup,
          * which may be used internally by the object to do the validation.
          * <P>
          * The DataType object must flush and close the output stream before returning.
          * Typically it will create another object (e.g. an OutputWriter), and
          * that is the object that must be flushed and closed.
          * 
          * <P>
          * File is assumed to be and ASCII string of digits
          * representing a value of this data type.
          */
/**
         * Construct an appropriate external representation of the object and write it to a file. Errors are
         * returned by throwing an IOException containing the cause of the problem as its message.
         * <P>
         * DataType is responsible for validating that the given text text from a Popup JTextArea can be converted
         * to an object. This text-to-object conversion is the same as validateAndConvertInPopup, which may be used
         * internally by the object to do the validation.
         * <P>
         * The DataType object must flush and close the output stream before returning. Typically it will create
         * another object (e.g. an OutputWriter), and that is the object that must be flushed and closed.
         * <P>
         * File is assumed to be and ASCII string of digits representing a value of this data type.
         */
/**
     * Construct an appropriate external representation of the object
     * and write it to a file.
     * Errors are returned by throwing an IOException containing the
     * cause of the problem as its message.
     * <P>
     * DataType is responsible for validating that the given text
     * text from a Popup JTextArea can be converted to an object.
     * This text-to-object conversion is the same as validateAndConvertInPopup,
     * which may be used internally by the object to do the validation.
     * <P>
     * The DataType object must flush and close the output stream before returning.
     * Typically it will create another object (e.g. an OutputWriter), and
     * that is the object that must be flushed and closed.
     *
     * <P>
     * File is assumed to be and ASCII string of digits
     * representing a value of this data type.
     */
/**
          * Construct an appropriate external representation of the object
          * and write it to a file.
          * Errors are returned by throwing an IOException containing the
          * cause of the problem as its message.
          * <P>
          * DataType is responsible for validating that the given text
          * text from a Popup JTextArea can be converted to an object.
          * This text-to-object conversion is the same as validateAndConvertInPopup,
          * which may be used internally by the object to do the validation.
          * <P>
          * The DataType object must flush and close the output stream before returning.
          * Typically it will create another object (e.g. an OutputWriter), and
          * that is the object that must be flushed and closed.
          *
          * <P>
          * File is assumed to be and ASCII string of digits
          * representing a value of this data type.
          */
public void exportObject(FileOutputStream outStream, String text) throws IOException {
  OutputStreamWriter outWriter = new OutputStreamWriter(outStream);
  // check that the text is a valid representation
  StringBuffer messageBuffer = new StringBuffer();
  validateAndConvertInPopup(text, null, messageBuffer);
  if (messageBuffer.length() > 0) {
    // there was an error in the conversion
    throw new IOException(new String(messageBuffer));
  }
  // just send the text to the output file
  outWriter.write(text);
  outWriter.flush();
  outWriter.close();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None