Codota Logo
BeamFileFilter.setFormatName
Code IndexAdd Codota to your IDE (free)

How to use
setFormatName
method
in
org.esa.beam.util.io.BeamFileFilter

Best Java code snippets using org.esa.beam.util.io.BeamFileFilter.setFormatName (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: bcdev/beam

public BeamFileFilter(String formatName, String[] extensions, String description) {
  setFormatName(formatName);
  setExtensions(extensions);
  setDescription(description);
}
origin: bcdev/beam

public void testSetters() {
  final BeamFileFilter f = new BeamFileFilter();
  f.setFormatName("Zappo");
  f.setDescription("Zappo File Format");
  f.setExtensions(new String[]{".zap", ".ZAPPO"});
  assertEquals("Zappo", f.getFormatName());
  assertEquals("Zappo File Format", f.getDescription());
  assertTrue(f.hasExtensions());
  assertEquals(".zap", f.getDefaultExtension());
  assertEquals(2, f.getExtensions().length);
  assertEquals(".zap", f.getExtensions()[0]);
  assertEquals(".ZAPPO", f.getExtensions()[1]);
}
org.esa.beam.util.ioBeamFileFiltersetFormatName

Popular methods of BeamFileFilter

  • <init>
  • getFormatName
  • getDefaultExtension
    Returns the default extension. The default extension is the first entry in the array returned by the
  • getDescription
    Returns the description of this filter. For example: "JPEG Images (*.jpg,*.jpeg)".
  • getExtensions
    Returns the accepted extensions of this filter. For example: {".jpg", ".gif", ".png"}.
  • accept
    Tests whether or not the given file is accepted by this filter. The default implementation returnstr
  • getSortedFileFilters
    Return a alphabetically sorted list of file filters originating from a productIO plugin iterator.
  • hasExtensions
    Returns whether or not this file filter has extensions.
  • setDescription
    Returns the description of this filter. For example: "JPEG Images (*.jpg,*.jpeg)". If the extension
  • setExtensions
    Sets the accepted extensions of this filter. For example: {".jpg", ".gif", ".png"}.
  • checkExtension
    Utility method which checks the extension the given filename.
  • checkExtensions
    Utility method which checks the extension the given filename.
  • checkExtension,
  • checkExtensions,
  • getFileSelectionMode,
  • isCompoundDocument

Popular in Java

  • Creating JSON documents from java classes using gson
  • getExternalFilesDir (Context)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
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