Class BslBinaryContentDescriber

java.lang.Object
com._1c.g5.v8.dt.bsl.resource.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.
  • Field Details

  • Constructor Details

    • BslBinaryContentDescriber

      public BslBinaryContentDescriber()
  • Method Details

    • 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