String to binary converter
I would change

public int getDecimal(char character)
{
    for (int i = 0; i &lt;= 255; i++)
    {
         if (character == (char) i)
         {
              return i;
          }
     }
     return -1;
}


To just

public int getDecimal(char character)
{
     if(character&lt;0||character&gt;255)
          return -1;
     return character;
}


, As char is a number, too.

Also try using &gt;&gt; operator to get nth binary digit, which means division by 2.

number = (int) (number / 2);


To 

number = number &gt;&gt;1;


I don't know if it would be faster in java, but it  works faster in old computer's assembly program(Division was expensive than just shifting)

If you use assembly you can access carry flags and optimize it.

For more information about it, refer here.

Provided that al holds the target number and bx holds the target string address, and cx holds 8,


L1:                  ; This is the loop
mov dl, '0'      ; Ascii character zero
shl al, 1          ; Upper bit now in carry flag
adc dl, 0        ; Adds carry flag - 0 or 1
mov [bx], dl   ; Save digit to current position
inc bx             ; Next position
loop L1          ; Counts down cx
mov [bx], 0    ; Zero terminate (might need to use register)