Class ThriftParser


  • public class ThriftParser
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ThriftParser​(boolean requireFieldId, boolean requireEnumValue, boolean allowLanguageReservedNames, boolean allowProvidenceOnlyFeatures)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ProgramDeclaration parse​(java.io.InputStream in, java.nio.file.Path file)  
      • Methods inherited from class java.lang.Object

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

      • ThriftParser

        public ThriftParser​(boolean requireFieldId,
                            boolean requireEnumValue,
                            boolean allowLanguageReservedNames,
                            boolean allowProvidenceOnlyFeatures)
    • Method Detail

      • parse

        public ProgramDeclaration parse​(java.io.InputStream in,
                                        java.nio.file.Path file)
                                 throws java.io.IOException
        Throws:
        java.io.IOException