Added an overload for readFromInputStream method.

This overload defaults to any MIME type.
This commit is contained in:
Filip Strajnar 2024-10-23 23:14:57 +02:00
parent a2b7671677
commit 64c50fd1df

View file

@ -54,4 +54,9 @@ public class OpenDocumentGuide implements ActivityResultCallback<Uri> {
openDocumentLauncher.launch(suggestedMimeTypes); openDocumentLauncher.launch(suggestedMimeTypes);
} }
public void readFromInputStream(InputStreamHandler inputStreamHandler){
// Any MIME type.
readFromInputStream(new String[]{"*/*"},inputStreamHandler);
}
} }