Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
package hello; import org.eclipse.draw2d.ChopboxAnchor; import org.eclipse.draw2d.Figure; import org.eclipse.draw2d.Label; import org.eclipse.draw2d.LightweightSystem; import org.eclipse.draw2d.ManhattanConnectionRouter; import org.eclipse.draw2d.MouseEvent; import org.eclipse.draw2d.MouseListener; import org...
1,007
github-java-corpus
2,012
package hello; public class HelloWorldTemplate { protected static String nl; public static synchronized HelloWorldTemplate create(String lineSeparator) { nl = lineSeparator; HelloWorldTemplate result = new HelloWorldTemplate(); nl = null; return result; } public final String NL ...
162
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
251
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2000, 2004 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution...
372
github-java-corpus
2,012
package tests.part; import java.util.List; import java.util.Observable; import java.util.Observer; import org.eclipse.draw2d.ChopboxAnchor; import org.eclipse.draw2d.ConnectionAnchor; import org.eclipse.draw2d.Figure; import org.eclipse.draw2d.FreeformLayout; import org.eclipse.draw2d.IFigure; import org.e...
1,313
github-java-corpus
2,012
package tests.part; import org.eclipse.gef.EditPart; import tests.model.Canvas; import tests.model.Link; import tests.model.Node; public class EditPartFactory implements org.eclipse.gef.EditPartFactory { @Override public EditPart createEditPart(EditPart context, Object model) { EditPart part = null;...
164
github-java-corpus
2,012
package tests.part; import java.util.List; import java.util.Observable; import java.util.Observer; import org.eclipse.draw2d.FreeformLayer; import org.eclipse.draw2d.FreeformLayout; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.LineBorder; import org.eclipse.gef.EditPolicy; import org.eclipse.gef.NodeE...
676
github-java-corpus
2,012
package tests.part; import org.eclipse.draw2d.Connection; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.ShortestPathConnectionRouter; import org.eclipse.gef.editparts.AbstractConnectionEditPart; public class LinkEditPart extends AbstractConnectionEditPart { @Override protected void c...
149
github-java-corpus
2,012
package tests; import org.eclipse.draw2d.ColorConstants; import org.eclipse.draw2d.Graphics; import org.eclipse.draw2d.PolylineDecoration; import org.eclipse.draw2d.geometry.Dimension; import org.eclipse.draw2d.geometry.Point; import org.eclipse.draw2d.geometry.PointList; import org.eclipse.draw2d.geometry.Rec...
1,668
github-java-corpus
2,012
package tests.model; import java.util.ArrayList; import java.util.List; import java.util.Observable; public class Canvas extends Observable { private List<Node> nodes; public void addNode(Node node) { getNodes().add(node); setChangedAndNotify(); } public void removeNode(Node node) { getNodes().remove(nod...
133
github-java-corpus
2,012
package tests.model; public class Link { private Node source; private Node target; public Node getSource() { return source; } public void setSource(Node source) { this.source = source; } public Node getTarget() { return target; } public void setTarget(Node target) { this.target = tar...
74
github-java-corpus
2,012
package tests.model; import java.util.ArrayList; import java.util.List; import java.util.Observable; import org.eclipse.draw2d.geometry.Point; public class Node extends Observable { private Point location; private int size; private Node parent; private final List<Link> sourceLinks; private final List<Link> targ...
423
github-java-corpus
2,012
package tests.command; import org.eclipse.draw2d.geometry.Point; import org.eclipse.gef.commands.Command; import tests.model.Canvas; import tests.model.Node; public class CreateNodeCommand extends Command { private Canvas canvas; private Node node; private Point location; @Override public void e...
129
github-java-corpus
2,012
package tests.command; import org.eclipse.gef.commands.Command; import tests.model.Link; import tests.model.Node; public class CreateLinkCommand extends Command { private Node source; private Node target; private Link link; @Override public void execute() { link.setSource(source); source.ad...
154
github-java-corpus
2,012
package tests; import org.eclipse.gef.palette.ConnectionCreationToolEntry; import org.eclipse.gef.palette.CreationToolEntry; import org.eclipse.gef.palette.PaletteGroup; import org.eclipse.gef.palette.PaletteRoot; import tests.factory.LinkFactory; import tests.factory.NodeFactory; public class TestEditorPa...
164
github-java-corpus
2,012
package tests; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.gef.DefaultEditDomain; import org.eclipse.gef.palette.PaletteRoot; import org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette; import tests.model.Canvas; import tests.part.EditPartFactory; public class TestEditor exte...
199
github-java-corpus
2,012
package tests.factory; import org.eclipse.gef.requests.CreationFactory; import tests.model.Link; public class LinkFactory implements CreationFactory { @Override public Object getNewObject() { return new Link(); } @Override public Object getObjectType() { return Link.class; } }
61
github-java-corpus
2,012
package tests.factory; import org.eclipse.gef.requests.CreationFactory; import tests.model.Node; public class NodeFactory implements CreationFactory { @Override public Object getNewObject() { return new Node(0, 0, null); } @Override public Object getObjectType() { return Node.class; } ...
68
github-java-corpus
2,012
public class ComplexCalculation { }
8
github-java-corpus
2,012
package com.vainolo.phd.opm.opdevolver; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class Activator implements BundleActivator { private static BundleContext context; static BundleContext getContext() { return context; } /* * (non-Javadoc) * @...
155
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
169
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
301
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
420
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
297
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
152
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
517
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
504
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
883
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
847
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
916
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
215
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
192
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
255
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
727
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
1,016
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
454
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
1,138
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
250
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
124
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
1,836
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
368
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
413
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
423
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
450
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
554
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
188
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
365
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
689
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
372
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
389
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
472
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
259
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
254
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
283
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
256
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
263
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
262
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
274
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
176
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
285
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
166
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
263
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
264
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
285
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
147
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
176
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
259
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
201
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
258
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
176
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
672
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
216
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
411
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
895
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
712
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
902
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
201
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
637
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
1,018
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
751
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
262
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
85
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
100
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
275
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
2,218
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
485
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
474
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
1,204
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
1,093
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
266
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
1,981
github-java-corpus
2,012
/******************************************************************************* * Copyright (c) 2012 Arieh 'Vainolo' Bibliowicz * You can use this code for educational purposes. For any other uses * please contact me: vainolo@gmail.com ***************************************************************************...
322
github-java-corpus
2,012
package org.webservice.fotolia; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.apache.http.message.BasicNameValuePair; public class FotoliaCreateMemberQuery extends HashMap<String, String> { /** * Constructor * * @param login * @param password * @...
769
github-java-corpus
2,012
package org.webservice.fotolia; import java.io.IOException; import org.apache.http.annotation.Immutable; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.StatusLine; import org.apache.http.client.ResponseHandler; import org.apache.http.client.HttpResponseException; impor...
348
github-java-corpus
2,012
package org.webservice.fotolia; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.apache.http.message.BasicNameValuePair; public class FotoliaSubAccountData extends HashMap<String, String> { /** * Constructor * * @param firstname * @param lastname * ...
660
github-java-corpus
2,012
package org.webservice.fotolia; import java.util.ArrayList; import java.util.List; import java.io.UnsupportedEncodingException; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.protocol.HTTP; import org.apache.http.client.utils.URLEncodedUtils; p...
179
github-java-corpus
2,012
package org.webservice.fotolia; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.apache.http.message.BasicNameValuePair; public class FotoliaSearchQuery extends HashMap<String, String> { /** * Constructor * * @param words */ public FotoliaSearchQuery(...
2,658
github-java-corpus
2,012
package org.webservice.fotolia; import org.apache.http.annotation.Immutable; import org.apache.http.client.ClientProtocolException; /** * Signals a non 2xx HTTP response. * * @since 4.0 */ @Immutable public class FotoliaApiException extends ClientProtocolException { private final int _error_code; public ...
116
github-java-corpus
2,012
package org.webservice.fotolia; import java.util.Date; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.Iterator; import java.util.Map; import java.io.FileOutputStream; import java.io.BufferedOutputStream; import java.io.IOException; import java.io.FileNotFoundException; impor...
9,910
github-java-corpus
2,012
import org.webservice.fotolia.*; import org.json.simple.JSONObject; public class example { public static void main(String[] args) { FotoliaApi client = new FotoliaApi("your_api_key"); // fetching a media data System.out.println(client.getMediaData(18136053)); // searching file...
197