org.apache.maven.jxr.pacman

Class ImportType

public class ImportType extends BaseType

Represents an entry in a java "import" statement
Constructor Summary
ImportType(String name)
Create a new ImportType with the specified name
Method Summary
StringgetPackage()
Get the name of the package that this import is based on: EX: test.* will return "test" EX: test.Test will return "test"
booleanisClass()
Return true if this is a class import.
booleanisPackage()
Return true if this is a package import.

Constructor Detail

ImportType

public ImportType(String name)
Create a new ImportType with the specified name

Parameters: name

Method Detail

getPackage

public String getPackage()
Get the name of the package that this import is based on: EX: test.* will return "test" EX: test.Test will return "test"

isClass

public boolean isClass()
Return true if this is a class import. Ex: test.Test

isPackage

public boolean isPackage()
Return true if this is a package import. Ex: test.*
Copyright © {inceptionYear}-2007 Apache Software Foundation. All Rights Reserved.