# Load documents Document loading use cases with GroupDocs.Viewer within your Java applications. To render documents, you must load them first. This section describes ways to load documents implemented in GroupDocs.Viewer. You can also define document loading options, such as a document type or a password for a password-protected document. To do this, use the constructor parameters and properties of the [LoadOptions](https://reference.groupdocs.com/viewer/java/com.groupdocs.viewer.options/LoadOptions) class. For details, please refer to the following pages: ## Contents - [Load documents from different sources](https://docs.groupdocs.com/viewer/java/loading-documents-from-different-sources.md) - [Load password-protected documents](https://docs.groupdocs.com/viewer/java/load-password-protected-document.md) - [Specify file type when loading a document](https://docs.groupdocs.com/viewer/java/specify-file-type-when-loading-a-document.md) - [Specify encoding when loading documents](https://docs.groupdocs.com/viewer/java/specify-encoding-when-loading-documents.md) - [Loading of external resources containing by a document](https://docs.groupdocs.com/viewer/java/loading-external-resources.md) - [Set timeout for loading external resources](https://docs.groupdocs.com/viewer/java/set-timeout-for-loading-external-resources-contained-by-a-document.md)