src/org/github/solegaonkar/photography/framework/FlickrUtil.java
/**
	 * Remove unwanted characters from the input string.
	 * 
	 * @param input
	 * @return
	 */
Remove unwanted characters from the input string.

@param input
@return
Remove unwanted characters from the input string . @param input @return
private static String makeSafeFilename(String input) {
		byte[] fname = input.getBytes();
		byte[] bad = new byte[] { '\\', '/', '"', '*' };
		byte replace = '_';
		for (int i = 0; i < fname.length; i++) {
			for (byte element : bad) {
				if (fname[i] == element) {
					fname[i] = replace;
				}
			}
			if (fname[i] == ' ')
				fname[i] = '_';
		}
		return new String(fname);
	}
private static String makeSafeFilename ( String input ) { byte [ ] fname = input . getBytes ( ) ; byte [ ] bad = new byte [ ] { '\\' , '/' , '"' , '*' } ; byte replace = '_' ; for ( int i = 0 ; i < fname . length ; i ++ ) { for ( byte element : bad ) { if ( fname [ i ] == element ) { fname [ i ] = replace ; } } if ( fname [ i ] == ' ' ) fname [ i ] = '_' ; } return new String ( fname ) ; }
Remove unwanted characters from the input string.
Remove unwanted characters from the input string .