Class OLE

java.lang.Object
org.eclipse.swt.SWT
org.eclipse.swt.ole.win32.OLE

public class OLE extends SWT
OLE contains all the constants used to create an ActiveX Control or an OLE Document.

Definitions for these constants can be found in MSDN.

  • Field Details

  • Constructor Details

    • OLE

      public OLE()
  • Method Details

    • error

      public static void error(int code)
    • error

      public static void error(int code, int hresult)
    • findProgramID

      public static String findProgramID(String extension)
    • isOleFile

      public static boolean isOleFile(File file)
      Returns true if the specified file has an OLE Storage format. Note all empty files (regardless of extension) will return false.
      Parameters:
      file - the file to be checked
      Returns:
      true if this file has an OLE Storage format