code: public static SerializationFormat getInputFormat(String name) {
          for (SerializationFormat ft : Instance.serializationFormats) {
              if (ft.isAcceptedAsInput(name)) {
                  return ft;
              }
          }
          return null;
      }
docs: returns an input FormatType for a given name
  
  @param name the name of the format (e.g. 'ttl')
  @return a FormatType that corresponds to the format name or null otherwise