Class FAFileResource

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private FAFile FAFile  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        FAFileResource​(java.lang.String primaryKey, java.net.URI resourceLocator)
      Do not use directly.
      private FAFileResource​(java.lang.String primaryKey, FAFile FAFile)  
    • Field Detail

      • FAFile

        private final FAFile FAFile
    • Constructor Detail

      • FAFileResource

        private FAFileResource​(java.lang.String primaryKey,
                               FAFile FAFile)
      • FAFileResource

        public FAFileResource​(java.lang.String primaryKey,
                              java.net.URI resourceLocator)
                       throws java.io.IOException
        Do not use directly.
        Parameters:
        primaryKey - The primary key.
        resourceLocator - The URI used when loading this resource.
        Throws:
        java.io.IOException - if FAFile can not be opened.
    • Method Detail

      • preload

        public void preload()
        Preload the resource if possible/meaningful.
        Specified by:
        preload in class Resource
      • getFAFile

        public FAFile getFAFile()
        Gets the FAFile represented by this resource.
        Returns:
        The FAFile for this resource, or the default Java FAFile if none found.