I think you're missing all the fun:
Here's a basic implementation of what Pete Kirkham suggested.
Took about 5 mins.
import java.util.List;
import java.util.ArrayList;
public class Binary {
public static void main( String [] args ) {
for ( int i : Binary.fromString("0000000100100011010001010110011110001001") ) {
System.out.print( i );
}
System.out.println();
}
public static List<Integer> fromString( String binaryString ) {
List<Integer> list = new ArrayList<Integer>();
StringBuilder buffer = new StringBuilder();
int count = 0;
for ( char c : binaryString.toCharArray() ) {
buffer.append( c );
count++;
if ( count >= 4 ) {
list.add( Integer.parseInt( buffer.toString(), 2 ) );
count = 0;
buffer.delete( 0 , 4 );
}
}
return list;
}
}