test_class.declarator: temporaryFolder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final TemporaryFolder temporaryFolder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: temporaryFolder
test_class.file: oak-run/src/test/java/org/apache/jackrabbit/oak/plugins/tika/NodeStoreBinaryResourceProviderTest.java
test_class.identifier: NodeStoreBinaryResourceProviderTest
test_case.body: @Test
      public void countBinaries() throws Exception {
          NodeBuilder builder = EMPTY_NODE.builder();
          createFileNode(builder, "a", new IdBlob("hello", null), "text/plain");
          createFileNode(builder, "b", new IdBlob("hello", "id1"), "text/plain");
  
          createFileNode(builder.child("a2"), "c", new IdBlob("hello", "id2"), "text/foo")
                  .setProperty(JcrConstants.JCR_ENCODING, "bar");
  
          NodeStore store = new MemoryNodeStore(builder.getNodeState());
          BlobStore blobStore = new MemoryBlobStore();
          NodeStoreBinaryResourceProvider extractor = new NodeStoreBinaryResourceProvider(store, blobStore);
  
          assertEquals(2, extractor.getBinaries("/").size());
          assertEquals(1, extractor.getBinaries("/a2").size());
  
          BinaryResource bs = extractor.getBinaries("/a2").first().get();
          assertEquals("text/foo", bs.getMimeType());
          assertEquals("bar", bs.getEncoding());
          assertEquals("id2", bs.getBlobId());
      }
test_case.class_method_signature: NodeStoreBinaryResourceProviderTest.countBinaries()
test_case.full_signature: @Test public void countBinaries()
test_case.identifier: countBinaries
test_case.invocations: builder createFileNode createFileNode setProperty createFileNode child getNodeState assertEquals size getBinaries assertEquals size getBinaries get first getBinaries assertEquals getMimeType assertEquals getEncoding assertEquals getBlobId
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void countBinaries()
focal_class.declarator: log = LoggerFactory.getLogger(NodeStoreBinaryResourceProvider.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(NodeStoreBinaryResourceProvider.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: nodeStore
focal_class.modifier: private final
focal_class.original_string: private final NodeStore nodeStore;
focal_class.type: NodeStore
focal_class.var_name: nodeStore
focal_class.declarator: blobStore
focal_class.modifier: private final
focal_class.original_string: private final BlobStore blobStore;
focal_class.type: BlobStore
focal_class.var_name: blobStore
focal_class.file: oak-run/src/main/java/org/apache/jackrabbit/oak/plugins/tika/NodeStoreBinaryResourceProvider.java
focal_class.identifier: NodeStoreBinaryResourceProvider
focal_class.interfaces: implements BinaryResourceProvider
focal_class.class_method_signature: NodeStoreBinaryResourceProvider.NodeStoreBinaryResourceProvider(NodeStore nodeStore, BlobStore blobStore)
focal_class.full_signature: public  NodeStoreBinaryResourceProvider(NodeStore nodeStore, BlobStore blobStore)
focal_class.identifier: NodeStoreBinaryResourceProvider
focal_class.modifiers: public
focal_class.parameters: (NodeStore nodeStore, BlobStore blobStore)
focal_class.signature:  NodeStoreBinaryResourceProvider(NodeStore nodeStore, BlobStore blobStore)
focal_class.class_method_signature: NodeStoreBinaryResourceProvider.getBinaries(String path)
focal_class.full_signature: public FluentIterable<BinaryResource> getBinaries(String path)
focal_class.identifier: getBinaries
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: FluentIterable<BinaryResource>
focal_class.signature: FluentIterable<BinaryResource> getBinaries(String path)
focal_class.class_method_signature: NodeStoreBinaryResourceProvider.getString(Tree tree, String name)
focal_class.full_signature: @Nullable private static String getString(Tree tree, String name)
focal_class.identifier: getString
focal_class.modifiers: @Nullable private static
focal_class.parameters: (Tree tree, String name)
focal_class.return: String
focal_class.signature: String getString(Tree tree, String name)
focal_method.body: public FluentIterable<BinaryResource> getBinaries(String path) {
          return new OakTreeTraverser()
                  .preOrderTraversal(createReadOnlyTree(getNode(nodeStore.getRoot(), path)))
                  .transform(new TreeToBinarySource())
                  .filter(notNull());
      }
focal_method.class_method_signature: NodeStoreBinaryResourceProvider.getBinaries(String path)
focal_method.full_signature: public FluentIterable<BinaryResource> getBinaries(String path)
focal_method.identifier: getBinaries
focal_method.invocations: filter transform preOrderTraversal createReadOnlyTree getNode getRoot notNull
focal_method.modifiers: public
focal_method.parameters: (String path)
focal_method.return: FluentIterable<BinaryResource>
focal_method.signature: FluentIterable<BinaryResource> getBinaries(String path)