FileDocCategorySizeDatePackage
FeedUrl.javaAPI DocAndroid 1.5 API1821Wed May 06 22:41:16 BST 2009com.google.wireless.gdata.subscribedfeeds.data

FeedUrl.java

/*
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** See the License for the specific language governing permissions and
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** limitations under the License.
*/

package com.google.wireless.gdata.subscribedfeeds.data;

/**
 * The FeedUrl GData type.
 */
public class FeedUrl {
    private String feed;
    private String service;
    private String authToken;

    public FeedUrl() {
    }

    public FeedUrl(String feed, String service, String authToken) {
        setFeed(feed);
        setService(service);
        setAuthToken(authToken);
    }

    public String getFeed() {
        return feed;
    }

    public void setFeed(String feed) {
        this.feed = feed;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken;
    }

    public void toString(StringBuffer sb) {
        sb.append("FeedUrl");
        sb.append(" url:").append(getFeed());
        sb.append(" service:").append(getService());
        sb.append(" authToken:").append(getAuthToken());
    }

    public String toString() {
        StringBuffer sb = new StringBuffer();
        toString(sb);
        return sb.toString();
    }    
}