public byte[] buildTranslatedBook(final ContentSpec contentSpec, final String requester, final DocBookBuildingOptions builderOptions,
            final ZanataDetails zanataDetails, final BuildType buildType) throws BuilderCreationException, BuildProcessingException {
        return buildTranslatedBook(contentSpec, requester, builderOptions, new HashMap<String, byte[]>(), zanataDetails, buildType);
    }
public byte [ ] buildTranslatedBook ( final ContentSpec contentSpec , final String requester , final DocBookBuildingOptions builderOptions , final ZanataDetails zanataDetails , final BuildType buildType ) throws BuilderCreationException , BuildProcessingException { return buildTranslatedBook ( contentSpec , requester , builderOptions , new HashMap < String , byte [ ] > ( ) , zanataDetails , buildType ) ; }
Builds a book into a zip file for the passed Content Specification.

@param contentSpec    The content specification that is to be built. It should have already been validated, if not errors may occur.
@param requester      The user who requested the book to be built.
@param builderOptions The set of options what are to be when building the book.
@param zanataDetails  The Zanata details to be used when editor links are turned on.
@param buildType
@return A byte array that is the zip file
@throws BuildProcessingException Any unexpected errors that occur during building.
@throws BuilderCreationException Any error that occurs while trying to setup/create the builder