Documentation of 'org.ujmp.core.util.ResourceUtil' Java class
ResourceUtil
org.ujmp.core.util

Class ResourceUtil



  • public abstract class ResourceUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      ResourceUtil() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void copyToFile(java.lang.String resource, java.io.File file) 
      static byte[] getResourceAsBytes(java.lang.String url) 
      static java.io.InputStream getResourceAsStream(java.lang.String url) 
      static java.lang.String getResourceAsString(java.lang.String url) 
      static java.awt.Image loadImage(java.lang.String url) 
      static javax.swing.ImageIcon loadImageIcon(java.lang.String url) 
      • Methods inherited from class java.lang.Object

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

      • ResourceUtil

        public ResourceUtil()
    • Method Detail

      • copyToFile

        public static void copyToFile(java.lang.String resource,
                                      java.io.File file)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getResourceAsBytes

        public static byte[] getResourceAsBytes(java.lang.String url)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getResourceAsString

        public static java.lang.String getResourceAsString(java.lang.String url)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • loadImage

        public static java.awt.Image loadImage(java.lang.String url)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • loadImageIcon

        public static javax.swing.ImageIcon loadImageIcon(java.lang.String url)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • getResourceAsStream

        public static java.io.InputStream getResourceAsStream(java.lang.String url)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.