class FileSystemUtils {

    static void writeEntryToStream(FolderEntry folderEntry, OutputStream outputStream) throws IOException {
        // use java Properties to save the files
        Properties properties = new Properties();
        properties.setProperty(CONTENT_TYPE, folderEntry.getContentType().toString());
        properties.setProperty(CONTENT_ID, folderEntry.getContentId());
        properties.setProperty(FOLDER_ID, folderEntry.getFolderId());
        properties.store(outputStream, "saved");
    }

    private  FileSystemUtils();

}