edu.umd.cs.findbugs.classfile.impl

Class DirectoryCodeBase

    • Constructor Detail

      • DirectoryCodeBase

        public DirectoryCodeBase(ICodeBaseLocator codeBaseLocator,
                         File directory)
        Constructor.
        Parameters:
        codeBaseLocator - the codebase locator for this codebase
        directory - the filesystem directory
    • Method Detail

      • getPathName

        public String getPathName()
        Description copied from interface: ICodeBase
        Get the filesystem pathname of this codebase.
        Returns:
        the filesystem pathname of this codebase, or null if this codebase is not accessible via the filesystem
      • close

        public void close()
        Description copied from interface: ICodeBase
        This method should be called when done using the code base.
      • lookupResource

        public ICodeBaseEntry lookupResource(String resourceName)
        Description copied from interface: ICodeBase
        Look up a resource in this code base.
        Parameters:
        resourceName - name of the resource to look up
        Returns:
        ICodeBaseEntry representing the resource or null if the resource cannot be found in this code base

Copyright © 2003–2015. All rights reserved.