class PackageNameWhiteListSaver implements SupportsUpdate<WhiteList> {

    @Override
    public Path save( final Path path,
                      final WhiteList content,
                      final Metadata metadata,
                      final String comment ) {


        try {
            ioService.write( Paths.convert( path ),
                             toString( content ),
                             metadataService.setUpAttributes( path,
                                                              metadata ),
                             commentedOptionFactory.makeCommentedOption( comment ) );

            return path;

        } catch ( Exception e ) {
            throw ExceptionUtilities.handleException( e );
        }

    }

    public  PackageNameWhiteListSaver();
    @Inject public  PackageNameWhiteListSaver( final @Named( "ioStrategy" ) IOService ioService,
                                      final MetadataServerSideService metadataService,
                                      final CommentedOptionFactory commentedOptionFactory );

}