Class ResourceHelper


  • public final class ResourceHelper
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static class  ResourceHelper.Finder  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.nio.file.Path tempDir  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ResourceHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void extractResources()  
      static org.eclipse.swt.graphics.Font getBoldFont​(org.eclipse.swt.graphics.Font currentFont)  
      static org.eclipse.swt.graphics.Color getColor​(java.lang.String rgbString)  
      static org.eclipse.swt.graphics.Font getFont​(org.eclipse.swt.graphics.FontData... fontDatas)  
      static org.eclipse.swt.graphics.Font getFont​(org.eclipse.swt.graphics.Font currentFont, java.lang.String name, java.lang.Integer size)  
      static org.eclipse.swt.graphics.Font getItalicFont​(org.eclipse.swt.graphics.Font currentFont)  
      static java.net.URL getRichTextResource​(java.lang.String resource)  
      static java.lang.String ltrim​(java.lang.String s)  
      static java.lang.String rtrim​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • tempDir

        private static java.nio.file.Path tempDir
    • Constructor Detail

      • ResourceHelper

        private ResourceHelper()
    • Method Detail

      • getColor

        public static org.eclipse.swt.graphics.Color getColor​(java.lang.String rgbString)
      • getFont

        public static org.eclipse.swt.graphics.Font getFont​(org.eclipse.swt.graphics.FontData... fontDatas)
      • getFont

        public static org.eclipse.swt.graphics.Font getFont​(org.eclipse.swt.graphics.Font currentFont,
                                                            java.lang.String name,
                                                            java.lang.Integer size)
      • getBoldFont

        public static org.eclipse.swt.graphics.Font getBoldFont​(org.eclipse.swt.graphics.Font currentFont)
      • getItalicFont

        public static org.eclipse.swt.graphics.Font getItalicFont​(org.eclipse.swt.graphics.Font currentFont)
      • ltrim

        public static java.lang.String ltrim​(java.lang.String s)
      • rtrim

        public static java.lang.String rtrim​(java.lang.String s)
      • getRichTextResource

        public static java.net.URL getRichTextResource​(java.lang.String resource)
      • extractResources

        private static void extractResources()