Class BslBinaryContentDescriber

  • All Implemented Interfaces:
    org.eclipse.core.runtime.content.IContentDescriber

    public class BslBinaryContentDescriber
    extends Object
    implements org.eclipse.core.runtime.content.IContentDescriber
    Content describer for the BSL binary files.
    • Constructor Detail

      • BslBinaryContentDescriber

        public BslBinaryContentDescriber()
    • Method Detail

      • isBslBinaryContent

        public static boolean isBslBinaryContent​(InputStream contents)
                                          throws IOException
        Returns whether the provided content is BSL binary content.
        Parameters:
        contents - the contents to be examined, cannot be null
        Returns:
        whether the provided content is BSL binary content
        Throws:
        IOException - if an I/O error occurs
      • describe

        public int describe​(InputStream contents,
                            org.eclipse.core.runtime.content.IContentDescription description)
                     throws IOException
        Specified by:
        describe in interface org.eclipse.core.runtime.content.IContentDescriber
        Throws:
        IOException
      • getSupportedOptions

        public org.eclipse.core.runtime.QualifiedName[] getSupportedOptions()
        Specified by:
        getSupportedOptions in interface org.eclipse.core.runtime.content.IContentDescriber