code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
package il.yrtimid.osm.osmpoi.domain;
/**
* @author yrtimid
*
*/
public class Point {
Double latitude;
Double longitude;
int radius;
public Point(Point point) {
this.latitude = point.latitude;
this.longitude = point.longitude;
}
public Point(double latitude, double longitude) {
this.latitude = latit... | Java |
/** Automatically generated file. DO NOT MODIFY */
package il.yrtimid.osm.osmpoi;
public final class BuildConfig {
public final static boolean DEBUG = true;
} | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
import il.yrtimid.osm.osmpoi.OsmPoiApplication.Config;
import il.yrtimid.osm.osmpoi.dal.DbSearcher;
import il.yrtimid.osm.osmpoi.domain.Entity;
import il.yrtimid.osm.osmpoi.searchparameters.BaseSearchParameter;
import il.yrtimid.osm.osmpoi.searchparameters.SearchAround;
impor... | Java |
package il.yrtimid.osm.osmpoi.xml;
import java.util.ArrayList;
import java.util.List;
import il.yrtimid.osm.osmpoi.domain.Entity;
import il.yrtimid.osm.osmpoi.osmosis.core.task.v0_6.Sink;
public class EntityListSink implements Sink {
List<Entity> entities = new ArrayList<Entity>();
@Override
public void comple... | Java |
// This software is released into the Public Domain. See copying.txt for details.
package il.yrtimid.osm.osmpoi.xml;
import il.yrtimid.osm.osmpoi.domain.*;
import il.yrtimid.osm.osmpoi.osmosis.core.task.v0_6.Sink;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.util.l... | Java |
package il.yrtimid.osm.osmpoi.xml;
import il.yrtimid.osm.osmpoi.domain.Entity;
import java.io.InputStream;
import java.util.List;
import org.xmlpull.v1.XmlPullParserException;
public class XmlReader {
public static List<Entity> parseEntitiesFromXMLStream(InputStream inputStream) throws XmlPullParserException {
... | Java |
package il.yrtimid.osm.osmpoi;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import il.yrtimid.osm.osmpoi.CircleArea;
import il.yrtimid.osm.osmpoi.domain.Entity;
import il.yrtimid.osm.osmpoi.domain.EntityType;
import il.yrtimid.osm.osmpoi.domain.N... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
import java.io.File;
import java.util.List;
import java.util.logging.Logger;
import il.yrtimid.osm.osmpoi.categories.Category;
import il.yrtimid.osm.osmpoi.dal.CachedDbOpenHelper;
import il.yrtimid.osm.osmpoi.dal.DbAnalyzer;
import il.yrtimid.osm.osmpoi.dal.DbSearcher;
impor... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
import java.util.ArrayList;
import java.util.Collection;
/**
* @author yrtimid
*
*/
public class CollectionPipe<T> implements SearchPipe<T> {
private Collection<T> items = new ArrayList<T>();
/**
* @return the items
*/
public Collection<T> getItems() {
return ... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
/**
* @author yrtimid
*
*/
public class OrientationChangeManager implements SensorEven... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.categories;
import il.yrtimid.osm.osmpoi.searchparameters.*;
import java.util.ArrayList;
import java.util.List;
import android.os.Parcel;
import android.os.Parcelable;
/**
* @author yrtimid
*
*/
public class Category implements Parcelable {
public enum Type {
NONE,
... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.categories;
import il.yrtimid.osm.osmpoi.OsmPoiApplication;
import il.yrtimid.osm.osmpoi.categories.Category.Type;
import il.yrtimid.osm.osmpoi.dal.DbAnalyzer;
import il.yrtimid.osm.osmpoi.logging.Log;
import il.yrtimid.osm.osmpoi.searchparameters.SearchByKeyValue;
import jav... | Java |
package il.yrtimid.osm.osmpoi.logging;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.LogRecord;
public class AndroidLogHandler extends Handler {
@Override
public void close() {
}
@Override
public void flush() {
}
@Override
public void publish(LogRecord record) {... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.logging;
/**
* @author yrtimid
* use setprop log.tag.OsmPoi VERBOSE to enable logging
*/
public class Log {
public static final String TAG = "OsmPoi";
// public static void i(String tag, String string) {
// if (android.util.Log.isLoggable(TAG, android.util.Log.INFO))... | Java |
package il.yrtimid.osm.osmpoi.searchparameters;
import il.yrtimid.osm.osmpoi.Point;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Search for anything around point
* @author yrtimid
*
*/
public class SearchAround extends BaseSearchParameter implements android.os.Parcelable{
private Point center;
... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.searchparameters;
import il.yrtimid.osm.osmpoi.domain.EntityType;
import android.os.Parcel;
import android.os.Parcelable;
/**
* @author yrtimid
*
*/
public class SearchById extends BaseSearchParameter implements android.os.Parcelable {
private long id;
private EntityTyp... | Java |
package il.yrtimid.osm.osmpoi.searchparameters;
import il.yrtimid.osm.osmpoi.Point;
import il.yrtimid.osm.osmpoi.tagmatchers.TagMatcher;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Search around point and filtering by key-value
* @author yrtimid
*
*/
public class SearchByKeyValue extends SearchA... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.searchparameters;
import il.yrtimid.osm.osmpoi.Point;
import il.yrtimid.osm.osmpoi.domain.EntityType;
import android.os.Parcel;
import android.os.Parcelable;
/**
* @author yrtimid
*
*/
public class SearchByParentId extends SearchById implements android.os.Parcelable {
pri... | Java |
package il.yrtimid.osm.osmpoi.searchparameters;
import android.os.Parcel;
public abstract class BaseSearchParameter implements android.os.Parcelable{
protected Integer maxResults;
public BaseSearchParameter(){
this.maxResults = 0;
}
public BaseSearchParameter(Parcel source){
maxResults = source.readInt();... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
/**
* @author yrtimid
*
*/
public class CancelFlag {
private boolean cancel = false;
public void cancel(){
this.cancel = true;
}
public boolean isCancelled(){
return cancel;
}
public boolean isNotCancelled(){
return !cancel;
}
}
| Java |
///**
// *
// */
//package il.yrtimid.osm.osmpoi;
//
//import java.util.ArrayList;
//import java.util.Collection;
//
//import org.openstreetmap.osmosis.core.domain.v0_6.Entity;
//import org.openstreetmap.osmosis.core.domain.v0_6.Node;
//
//import il.yrtimid.osm.osmpoi.UI.Action;
//import il.yrtimid.osm.osmpoi.UI.Resul... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
import il.yrtimid.osm.osmpoi.logging.Log;
import java.util.Date;
import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
/**
* @author yrtimid
*
*/
pu... | Java |
package il.yrtimid.osm.osmpoi;
public enum SearchType {
None,
SearchAround,
SearchByKeyValue,
SearchById,
SearchAssociated
}
| Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.dal;
import il.yrtimid.osm.osmpoi.Pair;
import il.yrtimid.osm.osmpoi.domain.Bound;
import il.yrtimid.osm.osmpoi.domain.Entity;
import il.yrtimid.osm.osmpoi.domain.Node;
import il.yrtimid.osm.osmpoi.domain.Relation;
import il.yrtimid.osm.osmpoi.domain.RelationMember;
import il.... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.dal;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import il.yrtimid.osm.osmpoi.domain.*;
import il.yrtimid.osm.osmpoi.logging.Log;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenH... | Java |
package il.yrtimid.osm.osmpoi.dal;
import il.yrtimid.osm.osmpoi.Util;
import il.yrtimid.osm.osmpoi.domain.CommonEntityData;
import il.yrtimid.osm.osmpoi.domain.TagCollection;
import il.yrtimid.osm.osmpoi.tagmatchers.AndMatcher;
import il.yrtimid.osm.osmpoi.tagmatchers.KeyValueMatcher;
import il.yrtimid.osm.osmpoi.tag... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.dal;
import java.util.regex.Matcher;
import il.yrtimid.osm.osmpoi.tagmatchers.AndMatcher;
import il.yrtimid.osm.osmpoi.tagmatchers.KeyValueMatcher;
import il.yrtimid.osm.osmpoi.tagmatchers.NotMatcher;
import il.yrtimid.osm.osmpoi.tagmatchers.OrMatcher;
import il.yrtimid.osm.o... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.dal;
import java.io.File;
import java.util.ArrayList;
import java.util.Collection;
import il.yrtimid.osm.osmpoi.logging.Log;
import il.yrtimid.osm.osmpoi.tagmatchers.TagMatcher;
import android.content.ContentValues;
import android.content.Context;
import android.database.Curs... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.dal;
import il.yrtimid.osm.osmpoi.CancelFlag;
import il.yrtimid.osm.osmpoi.CollectionPipe;
import il.yrtimid.osm.osmpoi.Point;
import il.yrtimid.osm.osmpoi.SearchPipe;
import il.yrtimid.osm.osmpoi.Util;
import il.yrtimid.osm.osmpoi.domain.CommonEntityData;
import il.yrtimid.os... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.dal;
import il.yrtimid.osm.osmpoi.Util;
import il.yrtimid.osm.osmpoi.domain.*;
import il.yrtimid.osm.osmpoi.logging.Log;
import java.io.File;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import android.conten... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.dal;
import java.io.File;
import java.util.ArrayList;
import java.util.Collection;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHel... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
/**
* @author yrtimid
*
*/
public interface SearchPipe<T> extends ItemPipe<T> {
public void pushRadius(int radius);
}
| Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.formatters;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import il.yrtimid.osm.osmpoi.domain.Entity;
/**
* @author yrtimid
*
*/
public class TagSelector {
private String pa... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.formatters;
import il.yrtimid.osm.osmpoi.logging.Log;
import il.yrtimid.osm.osmpoi.tagmatchers.TagMatcher;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.pa... | Java |
package il.yrtimid.osm.osmpoi.formatters;
import java.util.List;
import il.yrtimid.osm.osmpoi.domain.Entity;
import il.yrtimid.osm.osmpoi.tagmatchers.TagMatcher;
/**
* @author yrtimid
*
*/
public class EntityFormatter {
TagMatcher matcher;
TagSelector selector;
public EntityFormatter(TagMatcher matcher, TagS... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
import il.yrtimid.osm.osmpoi.domain.*;
import il.yrtimid.osm.osmpoi.searchparameters.*;
/**
* @author yrtimid
*
*/
public interface ISearchSource {
//public abstract boolean isSupportsCancel();
public void search(BaseSearchParameter search, SearchPipe<Entity> newItemN... | Java |
// This software is released into the Public Domain. See copying.txt for details.
package il.yrtimid.osm.osmpoi.domain;
import android.os.Parcel;
import android.os.Parcelable;
/**
* A data class representing a single member within a relation entity.
*
* @author Brett Henderson
*/
public class ParcelableRelationM... | Java |
// This software is released into the Public Domain. See copying.txt for details.
package il.yrtimid.osm.osmpoi.domain;
import android.os.Parcel;
import android.os.Parcelable;
/**
* A data class representing a single OSM tag.
*
* @author Brett Henderson
*/
public class ParcelableTag implements Parcelable {
pr... | Java |
// This software is released into the Public Domain. See copying.txt for details.
package il.yrtimid.osm.osmpoi.domain;
import android.os.Parcel;
import android.os.Parcelable;
public class ParcelableNode extends ParcelableEntity implements Parcelable {
protected Node node;
public ParcelableNode(Node node) {
su... | Java |
// This software is released into the Public Domain. See copying.txt for details.
package il.yrtimid.osm.osmpoi.domain;
import java.util.ArrayList;
import java.util.List;
import android.os.Parcel;
import android.os.Parcelable;
/**
* A data class representing a single OSM way.
*
* @author Brett Henderson
*/
pub... | Java |
// This software is released into the Public Domain. See copying.txt for details.
package il.yrtimid.osm.osmpoi.domain;
import android.os.Parcel;
import android.os.Parcelable;
/**
* A data class representing a single OSM entity. All top level data types
* inherit from this class.
*
* @author Brett Henderson
*... | Java |
// This software is released into the Public Domain. See copying.txt for details.
package il.yrtimid.osm.osmpoi.domain;
import java.util.ArrayList;
import java.util.List;
import android.os.Parcel;
import android.os.Parcelable;
/**
* A data class representing a single OSM relation.
*
* @author Brett Henderson
... | Java |
// This software is released into the Public Domain. See copying.txt for details.
package il.yrtimid.osm.osmpoi.domain;
import java.util.ArrayList;
import java.util.List;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Contains data common to all entity types. This is separated from the entity
* cla... | Java |
package il.yrtimid.osm.osmpoi;
import java.io.IOException;
import java.util.List;
import android.content.Context;
import il.yrtimid.osm.osmpoi.dal.OsmOverpassAPI;
import il.yrtimid.osm.osmpoi.domain.Entity;
import il.yrtimid.osm.osmpoi.searchparameters.BaseSearchParameter;
import il.yrtimid.osm.osmpoi.searchparameter... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
import il.yrtimid.osm.osmpoi.domain.Entity;
/**
* @author yrtimid
*
*/
public class ResultItem {
public Entity entity;
public Integer radius;
public ResultItem(Entity entity, Integer radius) {
this.entity = entity;
this.radius = radius;
}
}
| Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
/**
* @author yrtimid
*
*/
public enum SearchSourceType {
NONE,
DB,
ONLINE
}
| Java |
package il.yrtimid.osm.osmpoi;
public class CircleArea {
Point point;
int radius;
public CircleArea(CircleArea area) {
point = new Point(area.point);
this.radius = area.radius;
}
public CircleArea(double latitude, double longitude, int radius) {
point = new Point(latitude, longitude);
this.radius = ra... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.services;
import il.yrtimid.osm.osmpoi.ImportSettings;
import il.yrtimid.osm.osmpoi.ItemPipe;
import il.yrtimid.osm.osmpoi.OsmPoiApplication;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.dal.IDbCachedFiller;
import il.yrtimid.osm.osmpoi.dbcreator.common.DbCreat... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.services;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.dbcreator.common.INotificationManager;
import il.yrtimid.osm.osmpoi... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi;
/**
* @author yrtimid
*
*/
public class Point {
Double latitude;
Double longitude;
int radius;
public Point(Point point) {
this.latitude = point.latitude;
this.longitude = point.longitude;
}
public Point(double latitude, double longitude) {
this.latitude = ... | Java |
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.R;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface.OnCancelListener;
import android.location.Location;
import android.widget.TextView;
public class Util {
/*public... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.ui;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Li... | Java |
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.ImportSettings;
import il.yrtimid.osm.osmpoi.OsmPoiApplication;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.domain.EntityType;
import il.yrtimid.osm.osmpoi.logging.Log;
import il.yrtimid.osm.osmpoi.services.FileProcessingService;
import j... | Java |
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.domain.*;
import java.util.Comparator;
import android.location.Location;
public class DistanceComparator implements Comparator<Entity> {
private Location loc;
public DistanceComparator(Location loc) {
this.loc = loc;
}
@Override
public int comp... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.categories.Category;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.R;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
/**
* @author yrtimid
*
*/
public class ConfirmDialog {
public interface Action{
public void PositiveAction();
}
public static v... | Java |
package il.yrtimid.osm.osmpoi.ui;
public interface Action {
public void onAction();
}
| Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.ui;
import java.util.Date;
import java.util.List;
/**
* @author yrtimid
*
*/
public class DownloadItem{
public enum ItemType {
FOLDER, FILE
}
public String Url;
public String Name;
public Integer Size;
public Date LastModified;
public ItemType Type;
public D... | Java |
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.CancelFlag;
import il.yrtimid.osm.osmpoi.OsmPoiApplication;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.ResultItem;
import il.yrtimid.osm.osmpoi.SearchPipe;
import il.yrtimid.osm.osmpoi.domain.*;
import il.yrtimid.osm.osmpoi.logging.Log;
i... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.OsmPoiApplication;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.dal.DbAnalyzer;
import android.app.TabActivity;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager.NameNotFoundException;
import androi... | Java |
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.LocationChangeManager.LocationChangeListener;
import il.yrtimid.osm.osmpoi.OrientationChangeManager.OrientationChangeListener;
import il.yrtimid.osm.osmpoi.OsmPoiApplication;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.dal.DbStarred;
impor... | Java |
/**
*
*/
package il.yrtimid.osm.osmpoi.ui;
import java.util.List;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
/**
* @author yrtimid
*
*/
public class DownloadList... | Java |
package il.yrtimid.osm.osmpoi.ui;
import java.security.InvalidParameterException;
import il.yrtimid.osm.osmpoi.LocationChangeManager.LocationChangeListener;
import il.yrtimid.osm.osmpoi.OrientationChangeManager.OrientationChangeListener;
import il.yrtimid.osm.osmpoi.OsmPoiApplication;
import il.yrtimid.osm.osmpoi.R;
... | Java |
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.domain.*;
import il.yrtimid.osm.osmpoi.formatters.EntityFormatter;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import android.content.Context;
import androi... | Java |
package il.yrtimid.osm.osmpoi.ui;
import il.yrtimid.osm.osmpoi.LocationChangeManager.LocationChangeListener;
import il.yrtimid.osm.osmpoi.OsmPoiApplication;
import il.yrtimid.osm.osmpoi.R;
import il.yrtimid.osm.osmpoi.categories.CategoriesLoader;
import il.yrtimid.osm.osmpoi.categories.Category;
import il.yrtimid.osm.... | Java |
package il.yrtimid.osm.osmpoi.parcelables;
import il.yrtimid.osm.osmpoi.Point;
import android.os.Parcel;
import android.os.Parcelable;
public class SearchParameters implements android.os.Parcelable{
private Point center;
private String expression;
private int maxResults;
public static final Parcelable.Creator<S... | Java |
/*
* Copyright 2011 Anders Kalør
*
* 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... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
package com.google.api.client.sample.buzz.v1.android;
import com.google.api.client.extensions.android2.AndroidHttp;
import com.google.api.client.googleapis.auth.oauth2.draft10.GoogleAccessProtectedResource;
import com.google.api.client.googleapis.extensions.android2.auth.GoogleAccountManager;
import com.google.api.cli... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.api.client.sample.buzz.appengine.oauth2;
import com.google.api.client.extensions.appengine.auth.AbstractAppEngineCallbackServlet;
import com.google.api.client.extensions.auth.helpers.ThreeLeggedFlow;
import com.google.api.client.googleapis.extensio... | Java |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.api.client.sample.buzz.appengine.oauth2;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;
/**
* Singleton to manage an instance of a {@link PersistenceManagerFactory}.
*
* One must use a singleton or other dependency inj... | Java |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.api.client.sample.buzz.appengine.oauth2;
import com.google.api.client.extensions.appengine.auth.AbstractAppEngineFlowServlet;
import com.google.api.client.extensions.auth.helpers.Credential;
import com.google.api.client.extensions.auth.helpers.Thre... | Java |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.api.client.sample.buzz.appengine.oauth2;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;
import java.io.IOException;
import javax.servlet.htt... | Java |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.api.client.sample.buzz.appengine.oauth2;
/**
* OAuth 2 credentials found in the <a href="https://code.google.com/apis/console">Google apis
* console</a>.
*
* <p>
* Once at the Google apis console, click on "Add project...", or if you've alread... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.google.api.client.sample.verification.model;
import com.google.api.client.util.Key;
/**
* @author Kevin Marshall
*
*/
public class TokenResponse {
@Key
public String method;
@Key
public String token;
}
| Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.google.api.client.sample.verification.model;
import com.google.api.client.util.Key;
/**
* @author Kevin Marshall
*
*/
public class TokenRequest {
@Key
public String verificationMethod;
@Key
public WebResourceSite site = new WebResourceSit... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
/*
* Copyright (c) 2010 Google Inc.
*
* 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 ... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.