Class ByteArrayInputSource

    • Constructor Detail

      • ByteArrayInputSource

        public ByteArrayInputSource​(@NotNull
                                    byte[] input)
    • Method Detail

      • getType

        @Nullable
        public DataSourceType getType()
        Description copied from interface: DataSource
        Defines a data source type for this kind of data sources. The data source type notion is strongly associated with the possibility to provide DataSourceFactory and ModelFactory custom mappings. See DataSourceFactoryRuleService and ModelFactoryService for the implementation details.
        Returns:
        the unique data source type for this instance of data source if the developer wants others to be able to change the default behavior of this data source (register with the same key) or if he desires to associate this data source with some specific model factory.