com.redfin.sitemapgenerator
Class GoogleCodeSitemapUrl

java.lang.Object
  extended by com.redfin.sitemapgenerator.WebSitemapUrl
      extended by com.redfin.sitemapgenerator.GoogleCodeSitemapUrl

public class GoogleCodeSitemapUrl
extends WebSitemapUrl

One configurable Google Code Search URL. To configure, use GoogleCodeSitemapUrl.Options

Author:
Dan Fabulich
See Also:
GoogleCodeSitemapUrl.Options, Creating Code Search Sitemaps

Nested Class Summary
static class GoogleCodeSitemapUrl.FileType
          The type of code represented by this URL
static class GoogleCodeSitemapUrl.License
          The license of the code represented by this URL
static class GoogleCodeSitemapUrl.Options
          Options to configure Google Code Search URLs
 
Constructor Summary
GoogleCodeSitemapUrl(GoogleCodeSitemapUrl.Options options)
           
GoogleCodeSitemapUrl(java.lang.String url, GoogleCodeSitemapUrl.FileType fileType)
          Specifies an url and a filetype (both mandatory in Google Code Search)
GoogleCodeSitemapUrl(java.lang.String url, java.lang.String fileType)
          Specifies an url and a filetype (both mandatory in Google Code Search)
GoogleCodeSitemapUrl(java.net.URL url, GoogleCodeSitemapUrl.FileType fileType)
          Specifies an url and a filetype (both mandatory in Google Code Search)
GoogleCodeSitemapUrl(java.net.URL url, java.lang.String fileType)
          Specifies an url and a filetype (both mandatory in Google Code Search)
 
Method Summary
 java.lang.String getFileName()
          Retrieves the GoogleCodeSitemapUrl.Options.fileName
 java.lang.String getFileType()
          Retrieves the GoogleCodeSitemapUrl.Options.fileType
 java.lang.String getLicense()
          Retrieves the GoogleCodeSitemapUrl.Options.license
 java.lang.String getPackageMap()
          Retrieves the GoogleCodeSitemapUrl.Options.packageMap
 java.net.URL getPackageUrl()
          Retrieves the GoogleCodeSitemapUrl.Options.packageUrl
 
Methods inherited from class com.redfin.sitemapgenerator.WebSitemapUrl
getChangeFreq, getLastMod, getPriority, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleCodeSitemapUrl

public GoogleCodeSitemapUrl(java.net.URL url,
                            GoogleCodeSitemapUrl.FileType fileType)
Specifies an url and a filetype (both mandatory in Google Code Search)


GoogleCodeSitemapUrl

public GoogleCodeSitemapUrl(java.lang.String url,
                            GoogleCodeSitemapUrl.FileType fileType)
                     throws java.net.MalformedURLException
Specifies an url and a filetype (both mandatory in Google Code Search)

Throws:
java.net.MalformedURLException

GoogleCodeSitemapUrl

public GoogleCodeSitemapUrl(java.net.URL url,
                            java.lang.String fileType)
Specifies an url and a filetype (both mandatory in Google Code Search)


GoogleCodeSitemapUrl

public GoogleCodeSitemapUrl(java.lang.String url,
                            java.lang.String fileType)
                     throws java.net.MalformedURLException
Specifies an url and a filetype (both mandatory in Google Code Search)

Throws:
java.net.MalformedURLException

GoogleCodeSitemapUrl

public GoogleCodeSitemapUrl(GoogleCodeSitemapUrl.Options options)
Method Detail

getFileType

public java.lang.String getFileType()
Retrieves the GoogleCodeSitemapUrl.Options.fileType


getLicense

public java.lang.String getLicense()
Retrieves the GoogleCodeSitemapUrl.Options.license


getFileName

public java.lang.String getFileName()
Retrieves the GoogleCodeSitemapUrl.Options.fileName


getPackageUrl

public java.net.URL getPackageUrl()
Retrieves the GoogleCodeSitemapUrl.Options.packageUrl


getPackageMap

public java.lang.String getPackageMap()
Retrieves the GoogleCodeSitemapUrl.Options.packageMap



Copyright © 2009. All Rights Reserved.