protected static MediaType toMediaType ( OggStreamType type ) { if ( type == OggStreamIdentifier . UNKNOWN ) { // We don't have a specific type available to return return OGG_GENERAL ; } else { // Say it's the specific type we found return MediaType . parse ( type . mimetype ) ; } }
Converts from our type to Tika s type