Documentation of 'org.statcato.file.FileChooserUtils' Java class
FileChooserUtils
org.statcato.file

Class FileChooserUtils



  • public class FileChooserUtils
    extends java.lang.Object
    Utilities functions for files.
    Since:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String gif 
      static java.lang.String html 
      static java.lang.String jpeg 
      static java.lang.String jpg 
      static java.lang.String pdf 
      static java.lang.String png 
      static java.lang.String tif 
      static java.lang.String tiff 
      static java.lang.String txt 
    • Constructor Summary

      Constructors 
      Constructor and Description
      FileChooserUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String getExtension(java.io.File f)
      Returns the extension of a file.
      static java.lang.String getExtension(java.lang.String s)
      Returns the extension of a file name
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileChooserUtils

        public FileChooserUtils()
    • Method Detail

      • getExtension

        public static java.lang.String getExtension(java.io.File f)
        Returns the extension of a file.
        Parameters:
        f - file object
        Returns:
        file extension
      • getExtension

        public static java.lang.String getExtension(java.lang.String s)
        Returns the extension of a file name
        Parameters:
        s - file name
        Returns:
        file extension

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.