Interface SourceFileFormat

All Superinterfaces:
FileFormat, Plugin
All Known Implementing Classes:

public interface SourceFileFormat
extends FileFormat

This defines the interface for implementing new source file formats.

Method Summary
 java.lang.String read(java.lang.String source, java.lang.String encoding)
          Reads the source file specified by the parameter source.
Methods inherited from interface
addProgressListener, getExtension, getFileFilter, getFormatName, getIcon, handlesFile, removeProgressListener, write

Method Detail


public java.lang.String read(java.lang.String source,
                             java.lang.String encoding)
Reads the source file specified by the parameter source.

source - the name of the file which contains the source.
encoding - the encoding which should be used to read the source file.
A string containing the source.

Copyright © 2004 Thomas Morton and Jeremy LaCivita. All Rights Reserved.