Codota Logo
AbstractFileLoader.getFileDescription
Code IndexAdd Codota to your IDE (free)

How to use
getFileDescription
method
in
weka.core.converters.AbstractFileLoader

Best Java code snippets using weka.core.converters.AbstractFileLoader.getFileDescription (Showing top 2 results out of 315)

  • Common ways to obtain AbstractFileLoader
private void myMethod () {
AbstractFileLoader a =
  • Codota IconString filename;ConverterUtils.getLoaderForFile(filename)
  • Codota IconConverterFileChooser converterFileChooser;converterFileChooser.getLoader()
  • Smart code suggestions by Codota
}
origin: Waikato/weka-trunk

 @Override
 public void run() {
  try {
   m_Log.statusMessage("Reading from file...");
   Instances inst = loader.getDataSet();
   setInstances(inst);
  } catch (Exception ex) {
   m_Log.statusMessage("File '" + loader.retrieveFile()
    + "' not recognised as an '" + loader.getFileDescription()
    + "' file.");
   m_IOThread = null;
   if (JOptionPane.showOptionDialog(
    PreprocessPanel.this,
    "File '" + loader.retrieveFile() + "' not recognised as an '"
     + loader.getFileDescription() + "' file.\n" + "Reason:\n"
     + ex.getMessage(), "Load Instances", 0,
    JOptionPane.ERROR_MESSAGE, null, new String[] { "OK",
     "Use Converter" }, null) == 1) {
    converterQuery(loader.retrieveFile());
   }
  }
  m_IOThread = null;
 }
};
origin: nz.ac.waikato.cms.weka/weka-stable

 @Override
 public void run() {
  try {
   m_Log.statusMessage("Reading from file...");
   Instances inst = loader.getDataSet();
   setInstances(inst);
  } catch (Exception ex) {
   m_Log.statusMessage("File '" + loader.retrieveFile()
    + "' not recognised as an '" + loader.getFileDescription()
    + "' file.");
   m_IOThread = null;
   if (JOptionPane.showOptionDialog(
    PreprocessPanel.this,
    "File '" + loader.retrieveFile() + "' not recognised as an '"
     + loader.getFileDescription() + "' file.\n" + "Reason:\n"
     + ex.getMessage(), "Load Instances", 0,
    JOptionPane.ERROR_MESSAGE, null, new String[] { "OK",
     "Use Converter" }, null) == 1) {
    converterQuery(loader.retrieveFile());
   }
  }
  m_IOThread = null;
 }
};
weka.core.convertersAbstractFileLoadergetFileDescription

Popular methods of AbstractFileLoader

  • setFile
    sets the source File
  • getDataSet
  • getFileExtension
  • getFileExtensions
  • getNextInstance
  • getStructure
  • getUseRelativePath
    Gets whether relative paths are to be used
  • makeOptionStr
    generates a string suitable for output on the command line displaying all available options (current
  • reset
    Resets the loader ready to read a new data set
  • retrieveFile
    get the File specified as the source
  • runFileLoader
    runs the given loader with the provided options
  • setRetrieval
  • runFileLoader,
  • setRetrieval,
  • setSource

Popular in Java

  • Making http requests using okhttp
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • getExternalFilesDir (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JTable (javax.swing)
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now