    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JavaAgent.resource.FileLocation

    java.lang.Object
       |
       +----JavaAgent.resource.FileLocation

public class FileLocation
extends Object

Represents the location of a file resource (language, Interpreter or class).

Copyright (c) 1995, H. Robert Frost, Stanford University. All rights reserved.

Copyright (c) 1996, H. Robert Frost, Enterprise Integration Technologies, Inc. All rights reserved.

RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the Government is subject to restrictions as set forth in subparagraph(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and in similar clauses in the FAR and NASA FAR supplement.

This software is bound by the terms and conditions listed in the attached LICENSE file.

##

file_base
object_name

##

FileLocation(URL, String)
  Constructor for FileLocation

##

getFileBase()
  Gets the base URL.
getObjectName()
  Gets the object name
toString()
  Returns String representation of the file location.

##

file_base

     protected URL file_base

object_name

     protected String object_name

##

FileLocation

     public FileLocation(URL file_base,
                         String object_name)

  Constructor for FileLocation

  Parameters:
    file_base - URL for file base
    object_name - Full name of the object

##

getFileBase

     public URL getFileBase()

  Gets the base URL.

  Returns:
    base URL for the file.

getObjectName

     public String getObjectName()

  Gets the object name

  Returns:
    Name of the object

toString

     public String toString()

  Returns String representation of the file location.

  Overrides:
    toString in class Object

    All Packages  Class Hierarchy  This Package  Previous  Next  Index