class AttachmentStreamConnector {

    protected String printAcceptedZipEntryName(String fileName, int count) {
        String fileExtension = getExtensionFromFileName(fileName);
        if (fileExtension.length() > 0) {
            fileExtension = "." + fileExtension;
            return fileName.substring(0, fileName.lastIndexOf(fileExtension)) + String.format(" (%d)", count) + fileExtension;
        } else {
            return fileName + String.format(" (%d)", count);
        }
    }

    public  AttachmentStreamConnector(Duration downloadTimeout);
    public  AttachmentStreamConnector(DatabaseConnector connector, Duration downloadTimeout);
    public  AttachmentStreamConnector(DatabaseConnector connector, AttachmentContentDownloader attachmentContentDownloader, Duration downloadTimeout);

}