class DocSetSupport {

    public static void copyIconFile(File iconFile, String docsetDir) throws BuilderException {
        if (null == iconFile) {
            return;
        }

        try {
            copyFile(iconFile, getFile(getDocsetRoot(docsetDir), ICON_FILE));
            logVerbose("Icon file copied");
        } catch (IOException e) {
            throw new BuilderException("Failed to copy icon file to docset", e);
        }
    }

    private  DocSetSupport();

}