public DocRef createFeed(final String feedName,
                             final DocRef folder,
                             final String streamType,
                             final String encoding,
                             final boolean isReference) {
        LOGGER.info("Creating feed {} in {} with type {} encoding {}");
        ExplorerNode feedNode;
        feedNode = explorerService.create(FeedDoc.TYPE, feedName,
                ExplorerConstants.SYSTEM_NODE,
                PermissionInheritance.DESTINATION);
        final DocRef feedDocRef = feedNode != null
                ? feedNode.getDocRef()
                : feedStore.createDocument(feedName);
        FeedDoc feedDoc = feedStore.readDocument(feedDocRef);
        feedDoc.setReference(isReference);
        feedDoc.setEncoding(encoding);
        feedDoc.setStreamType(streamType);
        feedStore.writeDocument(feedDoc);
        return feedDocRef;
    }
Adds event data to a stream store.

@param feedName                         The feed name to use.
@param translationTextConverterType     Type of text converter
@param translationTextConverterLocation The Text Converter location
@param translationXsltLocation          The XSLT location
@param dataLocation                     The event data location.
@param referenceFeeds                   The reference feeds used.
@return An event feed definition.
@throws IOException Thrown if files not found.
stroom-app/src/test/java/stroom/test/StoreCreationTool.java