static Part from(String encoded,String decoded){
  if (encoded == null) {
    return NULL;
  }
  if (encoded.length() == 0) {
    return EMPTY;
  }
  if (decoded == null) {
    return NULL;
  }
  if (decoded.length() == 0) {
    return EMPTY;
  }
  return new Part(encoded,decoded);
}

static Part from ( String encoded , String decoded ) { if ( encoded == null ) { return NULL ; } if ( encoded . length ( ) == 0 ) { return EMPTY ; } if ( decoded == null ) { return NULL ; } if ( decoded . length ( ) == 0 ) { return EMPTY ; } return new Part ( encoded , decoded ) ; }
creates a part from the encoded and decoded strings .
