Class TestInputStreamContent

  • All Implemented Interfaces:
    io.annot8.common.data.content.InputStreamContent, io.annot8.core.data.Content<java.io.InputStream>, io.annot8.core.helpers.WithId, io.annot8.core.helpers.WithName, io.annot8.core.helpers.WithProperties


    public class TestInputStreamContent
    extends AbstractTestContent<java.io.InputStream>
    implements io.annot8.common.data.content.InputStreamContent
    • Constructor Summary

      Constructors 
      Constructor Description
      TestInputStreamContent​()  
      TestInputStreamContent​(io.annot8.common.implementations.stores.AnnotationStoreFactory annotationStore, java.lang.String id, java.lang.String name, io.annot8.core.properties.ImmutableProperties properties, java.util.function.Supplier<java.io.InputStream> data)  
      TestInputStreamContent​(io.annot8.core.stores.AnnotationStore annotations, java.lang.String id, java.lang.String name, io.annot8.core.properties.ImmutableProperties properties, java.util.function.Supplier<java.io.InputStream> data)  
      TestInputStreamContent​(java.lang.String id, java.lang.String name, io.annot8.core.properties.ImmutableProperties properties, java.util.function.Supplier<java.io.InputStream> data)  
    • Constructor Detail

      • TestInputStreamContent

        public TestInputStreamContent​()
      • TestInputStreamContent

        public TestInputStreamContent​(java.lang.String id,
                                      java.lang.String name,
                                      io.annot8.core.properties.ImmutableProperties properties,
                                      java.util.function.Supplier<java.io.InputStream> data)
      • TestInputStreamContent

        public TestInputStreamContent​(io.annot8.core.stores.AnnotationStore annotations,
                                      java.lang.String id,
                                      java.lang.String name,
                                      io.annot8.core.properties.ImmutableProperties properties,
                                      java.util.function.Supplier<java.io.InputStream> data)
      • TestInputStreamContent

        public TestInputStreamContent​(io.annot8.common.implementations.stores.AnnotationStoreFactory annotationStore,
                                      java.lang.String id,
                                      java.lang.String name,
                                      io.annot8.core.properties.ImmutableProperties properties,
                                      java.util.function.Supplier<java.io.InputStream> data)
    • Method Detail

      • getContentClass

        public java.lang.Class<? extends io.annot8.core.data.Content<java.io.InputStream>> getContentClass​()
        Specified by:
        getContentClass in interface io.annot8.core.data.Content<java.io.InputStream>