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 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: DebugScreen.java 846 2008-09-11 12:20:05Z luca $
*/
package lampiro.screens;
import it.yup.ui.UIButton;
import it.yup.ui.UICanvas;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.yup.ui.UIPanel;
import it.yup.ui.... | 508 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: SplashScreen.java 846 2008-09-11 12:20:05Z luca $
*/
package lampiro.screens;
import it.yup.ui.UICanvas;
import it.yup.ui.UIConfig;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.yup.ui.UIMenu;
import it.yup.ui.... | 1,454 |
github-java-corpus | 2,012 | /**
*
*/
package lampiro.screens;
import java.util.Enumeration;
import java.util.Hashtable;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
import it.yup.ui.UIButton;
import it.yup.ui.UICanvas;
import it.yup.ui.UICheckbox;
import it.yup.ui.UIConfig;
import it.yup.ui.UIHLayout;
imp... | 2,025 |
github-java-corpus | 2,012 | /**
*
*/
package lampiro.screens;
import it.yup.ui.UICanvas;
import it.yup.ui.UIScreen;
//#mdebug
//@import it.yup.util.Logger;
//@
//#enddebug
import it.yup.util.ResourceIDs;
import it.yup.util.ResourceManager;
import it.yup.util.Utils;
import it.yup.xmpp.Config;
import java.io.ByteArrayOutputStream;
import jav... | 2,634 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: StatusScreen.java 1561 2009-06-08 13:52:35Z luca $
*/
package lampiro.screens;
import it.yup.ui.UICanvas;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.yup.ui.UIMenu;
import it.yup.ui.UIPanel;
import it.yup.ui.... | 1,104 |
github-java-corpus | 2,012 | /**
*
*/
package lampiro.screens;
import java.io.ByteArrayInputStream;
import java.util.Vector;
import it.yup.ui.UIButton;
import it.yup.ui.UICanvas;
import it.yup.ui.UIHLayout;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.yup.ui.UIMenu;
import it.yup.ui.UIPanel;
import it.yup.ui.UIScreen;
import it... | 1,474 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: ChatScreen.java 1586 2009-06-17 12:26:55Z luca $
*/
package lampiro.screens;
import it.yup.ui.UIButton;
import it.yup.ui.UICanvas;
import it.yup.ui.UICombobox;
import it.yup.ui.UIConfig;
import it.yup.ui.UIEmoLabel;
import it... | 8,474 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: CommandListScreen.java 1578 2009-06-16 11:07:59Z luca $
*/
package lampiro.screens;
import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Gauge;
import lampiro.screens.RosterScreen.WaitScreen;
import it.yu... | 930 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: MessageComposerScreen.java 1564 2009-06-09 14:17:08Z luca $
*/
package lampiro.screens;
import it.yup.ui.UIButton;
import it.yup.ui.UICombobox;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.yup.ui.UIMenu;
impor... | 945 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: DataResultScreen.java 1545 2009-05-27 07:33:17Z luca $
*/
/**
*
*/
package lampiro.screens;
import it.yup.ui.UICanvas;
import it.yup.ui.UIHLayout;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.yup.ui.UILayou... | 1,534 |
github-java-corpus | 2,012 | package lampiro.screens;
// #mdebug
//@import it.yup.util.Logger;
//@
// #enddebug
import java.util.Vector;
import it.yup.ui.UICanvas;
import it.yup.util.ResourceIDs;
import it.yup.util.ResourceManager;
import it.yup.util.Utils;
import it.yup.xmpp.Config;
import javax.microedition.lcdui.AlertType;
import javax.micr... | 1,075 |
github-java-corpus | 2,012 | /**
*
*/
package lampiro.screens;
import java.util.Enumeration;
import java.util.Vector;
import javax.microedition.lcdui.Font;
import javax.microedition.lcdui.TextField;
import it.yup.ui.UICanvas;
import it.yup.ui.UICheckbox;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.yup.ui.UIMenu;
import it.yu... | 1,153 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: ContactInfoScreen.java 1559 2009-06-08 11:07:14Z luca $
*/
/**
*
*/
package lampiro.screens;
import it.yup.ui.UICanvas;
import it.yup.ui.UIConfig;
import it.yup.ui.UIHLayout;
import it.yup.ui.UIItem;
import it.yup.ui.UILab... | 2,344 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: MUCScreen.java 1586 2009-06-17 12:26:55Z luca $
*/
package lampiro.screens;
import it.yup.ui.UICanvas;
import it.yup.ui.UICombobox;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.yup.ui.UIMenu;
import it.yup.ui.... | 2,488 |
github-java-corpus | 2,012 | /**
*
*/
package lampiro.screens;
import java.util.Enumeration;
import java.util.Vector;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
import it.yup.ui.UIButton;
import it.yup.ui.UICanvas;
import it.yup.ui.UIHLayout;
import it.yup.ui.UIItem;
import it.yup.ui.UILabel;
import it.y... | 3,524 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: RegisterScreen.java 1598 2009-06-19 12:59:47Z luca $
*/
package lampiro.screens;
import it.yup.ui.UIButton;
import it.yup.ui.UICanvas;
import it.yup.ui.UICheckbox;
import it.yup.ui.UICombobox;
import it.yup.ui.UIConfig;
impo... | 8,127 |
github-java-corpus | 2,012 | /* Copyright (c) 2008 Bluendo S.r.L.
* See about.html for details about license.
*
* $Id: LampiroMidlet.java 1539 2009-05-25 21:05:01Z luca $
*/
package lampiro;
// #mdebug
import it.yup.util.Logger;
import it.yup.util.MemoryLogConsumer;
import it.yup.util.StderrConsumer;
import it.yup.util.XMPPConsumer;
// #end... | 2,120 |
github-java-corpus | 2,012 | /*
* Created on 31-Mar-2005
*
*/
package lancs.mobilemedia.core.util;
/**
* @author tyoung
*
* This class contains all constants used by the MobileMedia application.
* It is the central location to store any static string data.
*/
public class Constants {
public static final String ALBUMLIST_SC... | 289 |
github-java-corpus | 2,012 | package lancs.mobilemedia.core.util;
import java.io.IOException;
import java.io.InputStream;
import lancs.mobilemedia.core.ui.datamodel.MediaData;
import lancs.mobilemedia.lib.exceptions.ImagePathNotValidException;
import lancs.mobilemedia.lib.exceptions.InvalidArrayFormatException;
import lancs.mobilemedia.l... | 1,794 |
github-java-corpus | 2,012 | // #ifdef includeMusic
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.util;
import lancs.mobilemedia.core.ui.datamodel.MediaData;
import lancs.mobilemedia.core.ui.datamodel.MultiMediaData;
import lancs.mobilemedia.lib.exceptions.InvalidArrayFormatException;
import lancs.mobilemedia.lib.exceptio... | 353 |
github-java-corpus | 2,012 | /*
* Created on Sep 13, 2004
*
*/
package lancs.mobilemedia.core.ui.screens;
import javax.microedition.lcdui.Choice;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.List;
/**
* @author trevor
*
* This screen shows a listing of all photos for a selected photo album.
* Th... | 852 |
github-java-corpus | 2,012 | // #if includeMusic && includePhotoAlbum
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.screens;
import javax.microedition.lcdui.Choice;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.List;
public class SelectTypeOfMedia e... | 421 |
github-java-corpus | 2,012 | /*
* Created on Sep 13, 2004
*
*/
package lancs.mobilemedia.core.ui.screens;
import javax.microedition.lcdui.Choice;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.List;
/**
* @author trevor
*
* This screen displays a list of photo albums available to select.
* A user ... | 507 |
github-java-corpus | 2,012 | package lancs.mobilemedia.core.ui.screens;
import java.util.*;
import javax.microedition.lcdui.*;
/**
*
* @author tyoung
* This is a splash screen that will display for a brief period when the
* application loads. It is currently disabled, and hasn't been tested yet.
*/
public class SplashScreen exte... | 272 |
github-java-corpus | 2,012 | // #ifdef includeMusic
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.screens;
import java.io.InputStream;
import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Form;
import javax.microedi... | 992 |
github-java-corpus | 2,012 | package lancs.mobilemedia.core.ui.screens;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Item;
import javax.microedition.lcdui.TextField;
/**
* @author tyoung
* This form is displayed when the user defines a new photo album (from the AlbumLis... | 393 |
github-java-corpus | 2,012 | package lancs.mobilemedia.core.ui.screens;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.TextField;
public class AddMediaToAlbum extends Form {
TextField labeltxt = new TextField("Item label", "", 15, T... | 507 |
github-java-corpus | 2,012 | // #ifdef includePhotoAlbum
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.screens;
import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
import lancs.mobilemedia.core.ui.datamodel.... | 585 |
github-java-corpus | 2,012 | package lancs.mobilemedia.core.ui;
import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;
import lancs.mobilemedia.core.ui.controller.AlbumController;
import lancs.mobilemedia.core.ui.controller.BaseController;
import lanc... | 1,327 |
github-java-corpus | 2,012 | /*
* Created on Sep 28, 2004
*/
package lancs.mobilemedia.core.ui.datamodel;
import javax.microedition.lcdui.Image;
import lancs.mobilemedia.lib.exceptions.ImageNotFoundException;
import lancs.mobilemedia.lib.exceptions.InvalidImageDataException;
import lancs.mobilemedia.lib.exceptions.InvalidPhotoAlbumNam... | 1,393 |
github-java-corpus | 2,012 | /*
* Created on Sep 13, 2004
*
*/
package lancs.mobilemedia.core.ui.datamodel;
import java.util.Hashtable;
import java.util.Vector;
import javax.microedition.rms.RecordEnumeration;
import javax.microedition.rms.RecordStore;
import javax.microedition.rms.RecordStoreException;
import javax.microedition.r... | 3,251 |
github-java-corpus | 2,012 | // #ifdef includeMusic
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.datamodel;
import javax.microedition.rms.RecordStore;
import javax.microedition.rms.RecordStoreException;
import lancs.mobilemedia.core.util.MusicMediaUtil;
import lancs.mobilemedia.lib.exceptions.ImageNotFoundException;... | 1,036 |
github-java-corpus | 2,012 | // #ifdef includeMusic
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.datamodel;
public class MultiMediaData extends MediaData {
private String typemedia;
public MultiMediaData(int foreignRecordId, String parentAlbumName,
String mediaLabel, String type) {
super(foreignRecordId,... | 231 |
github-java-corpus | 2,012 | /*
* Created on Nov 26, 2004
*
*/
package lancs.mobilemedia.core.ui.datamodel;
/**
* @author trevor
*
* This class holds meta data associated with a photo or image. There is a one-to-one
* relationship between images and image metadata. (ie. Every photo in MobileMedia will
* have a corresonding Imag... | 829 |
github-java-corpus | 2,012 | // #ifdef includeMusic
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.datamodel;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import lancs.mobilemedia.lib.exceptions.ImageNotFoundException;
import lancs.mobilemedia.lib.exceptions.PersistenceMechanismException;
public... | 230 |
github-java-corpus | 2,012 | // #ifdef includePhotoAlbum
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.datamodel;
import javax.microedition.lcdui.Image;
import javax.microedition.rms.RecordStore;
import javax.microedition.rms.RecordStoreException;
import lancs.mobilemedia.core.util.MediaUtil;
import lancs.mobileme... | 1,309 |
github-java-corpus | 2,012 | // #ifdef includePhotoAlbum
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.datamodel;
import javax.microedition.lcdui.Image;
import lancs.mobilemedia.lib.exceptions.ImageNotFoundException;
import lancs.mobilemedia.lib.exceptions.PersistenceMechanismException;
public class ImageAlbumData ... | 282 |
github-java-corpus | 2,012 | /*
* Lancaster University
* Computing Department
*
* Created by Eduardo Figueiredo
* Date: 22 Jul 2007
*
*/
// #if includeCopyPhoto || includeSmsFeature
package lancs.mobilemedia.core.ui.controller;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.m... | 1,408 |
github-java-corpus | 2,012 | /*
* Lancaster University
* Computing Department
*
* Created by Eduardo Figueiredo
* Date: 22 Jun 2007
*
*/
package lancs.mobilemedia.core.ui.controller;
//#if includeMusic && includePhotoAlbum
//[NC] Added in the scenario 07
import lancs.mobilemedia.core.ui.screens.SelectTypeOfMedia;
//#endif
... | 455 |
github-java-corpus | 2,012 | /*
* Lancaster University
* Computing Department
*
* Created by Eduardo Figueiredo
* Date: 17 Jun 2007
*
*/
package lancs.mobilemedia.core.ui.controller;
import java.io.InputStream;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcd... | 4,121 |
github-java-corpus | 2,012 | /*
* Lancaster University
* Computing Department
*
* Created by Eduardo Figueiredo
* Date: 22 Jun 2007
*
*/
package lancs.mobilemedia.core.ui.controller;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcdui.Command;
import javax.microed... | 1,673 |
github-java-corpus | 2,012 | /*
* Created on May 2, 2005
*
* ControllerInterface.java
* Created with Eclipse v3.0 by tyoung
*
*
*/
package lancs.mobilemedia.core.ui.controller;
import javax.microedition.lcdui.Command;
/**
* @author tyoung
*
* This interface must be implemented by all sub-Controllers used by MobileMed... | 196 |
github-java-corpus | 2,012 | // #ifdef includeMusic
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.controller;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.List;
import... | 1,171 |
github-java-corpus | 2,012 | // #if includeMusic && includePhotoAlbum
// [NC] Added in the scenario 07
package lancs.mobilemedia.core.ui.controller;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.List;
import lancs.mobilemedia.core.ui.MainUIMidlet;
import lancs.m... | 322 |
github-java-corpus | 2,012 | /*
* Lancaster University
* Computing Department
*
* Created by Eduardo Figueiredo
* Date: 22 Jun 2007
*
*/
package lancs.mobilemedia.core.ui.controller;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.m... | 1,111 |
github-java-corpus | 2,012 | /*
* Created on Sep 28, 2004
*
*/
package lancs.mobilemedia.core.ui.controller;
import javax.microedition.lcdui.Command;
import lancs.mobilemedia.core.ui.MainUIMidlet;
import lancs.mobilemedia.core.ui.datamodel.AlbumData;
import lancs.mobilemedia.core.ui.screens.AlbumListScreen;
import lancs.mobilemedia... | 979 |
github-java-corpus | 2,012 | /*
* Lancaster University
* Computing Department
*
* Created by Eduardo Figueiredo
* Date: 11 Aug 2007
*
*/
package lancs.mobilemedia.core.ui.controller;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcdui.Command;
import javax.microedit... | 1,303 |
github-java-corpus | 2,012 | package lancs.mobilemedia.core.threads;
/**
* Base Thread class. Most commands will execute within a thread (to avoid screen
* contention and hardware interrupts).
* At the moment, there is no useful functionality beyond what Runnable already provides.
* But we may wish to add some parent features in later.... | 150 |
github-java-corpus | 2,012 | /*
* Created on 31-Mar-2005
*
*/
// #if includeSmsFeature
package lancs.mobilemedia.core.comms;
import java.io.IOException;
import java.io.InterruptedIOException;
import javax.wireless.messaging.MessageConnection;
/**
* @author tyoung
* This is the abstract base messaging class. (At the moment, no... | 196 |
github-java-corpus | 2,012 | /*
* Created on 12-Apr-2005
*
*/
// #if includeSmsFeature
package lancs.mobilemedia.sms;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcdui.Command;
import lancs.mobilemedia.core.ui.MainUIMidlet;
import lancs.mobilemedia.core.ui.controlle... | 880 |
github-java-corpus | 2,012 | // #if includeSmsFeature
package lancs.mobilemedia.sms;
/**
* Prompts for text and sends it via an SMS MessageConnection
*/
public class SmsSenderThread implements Runnable { //extends BaseThread {
private String smsPort;
/** The URL to send the message to */
private String destinationAddress;
priv... | 429 |
github-java-corpus | 2,012 | // #if includeSmsFeature
package lancs.mobilemedia.sms;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Image;
import lancs.mobilemedia.core.ui.MainUIMidlet;
import lancs.mobilemedia.core.ui.controller.AbstractController;
import lancs.mobilemedia.core.ui.controller.PhotoViewController... | 641 |
github-java-corpus | 2,012 | // #if includeSmsFeature
/*
* Created on 6-Apr-2005
*/
package lancs.mobilemedia.sms;
import java.io.IOException;
import java.io.InterruptedIOException;
import javax.microedition.io.Connector;
import javax.microedition.io.PushRegistry;
import javax.wireless.messaging.BinaryMessage;
import javax.wireless... | 1,455 |
github-java-corpus | 2,012 | // #if includeSmsFeature
package lancs.mobilemedia.sms;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.Item;
import javax.microedition.lcdui.TextField;
/**
* @author tyoung
*
* To change the template for this generated type comment go to
... | 354 |
github-java-corpus | 2,012 | // #if includeSmsFeature
package lancs.mobilemedia.sms;
import java.io.IOException;
import java.io.InterruptedIOException;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.Command;
import javax.wireless.messaging.Message;
import javax.wireless.messaging.MessageConnection;
import lanc... | 712 |
github-java-corpus | 2,012 | package lancs.mobilemedia.lib.exceptions;
public class UnavailablePhotoAlbumException extends Exception {
private Throwable cause;
public UnavailablePhotoAlbumException() {
}
public UnavailablePhotoAlbumException(String arg0) {
super(arg0);
}
public UnavailablePhotoAlbumException(Throwable ar... | 84 |
github-java-corpus | 2,012 | package lancs.mobilemedia.lib.exceptions;
public class InvalidArrayFormatException extends InvalidImageDataException {
public InvalidArrayFormatException() {
super();
}
public InvalidArrayFormatException(String arg0) {
super(arg0);
}
public InvalidArrayFormatException(Throwable arg0) {
supe... | 63 |
github-java-corpus | 2,012 | package lancs.mobilemedia.lib.exceptions;
public class ImageNotFoundException extends Exception {
private Throwable cause;
public ImageNotFoundException() {
}
public ImageNotFoundException(String arg0) {
super(arg0);
}
public ImageNotFoundException(Throwable arg0) {
cause = arg0;
}
... | 74 |
github-java-corpus | 2,012 | package lancs.mobilemedia.lib.exceptions;
public class PersistenceMechanismException extends Exception {
public PersistenceMechanismException(String arg0) {
super(arg0);
}
public PersistenceMechanismException() {
}
private Throwable cause;
public PersistenceMechanismException(Throwable arg0)... | 80 |
github-java-corpus | 2,012 | package lancs.mobilemedia.lib.exceptions;
public class ImagePathNotValidException extends InvalidImageDataException {
private Throwable cause;
public ImagePathNotValidException() {
}
public ImagePathNotValidException(String arg0) {
super(arg0);
}
public ImagePathNotValidException(Throwable ar... | 86 |
github-java-corpus | 2,012 | package lancs.mobilemedia.lib.exceptions;
public class InvalidImageDataException extends Exception {
private Throwable cause;
public InvalidImageDataException() {
super();
}
public InvalidImageDataException(String arg0) {
super(arg0);
}
public InvalidImageDataException(Throwable arg0) {
... | 80 |
github-java-corpus | 2,012 | package lancs.mobilemedia.lib.exceptions;
public class InvalidImageFormatException extends InvalidImageDataException {
public InvalidImageFormatException() {
}
public InvalidImageFormatException(String arg0) {
super(arg0);
}
public InvalidImageFormatException(Throwable arg0) {
super(arg0);
}
... | 59 |
github-java-corpus | 2,012 | package lancs.mobilemedia.lib.exceptions;
public class InvalidPhotoAlbumNameException extends Exception {
public InvalidPhotoAlbumNameException() {
}
public InvalidPhotoAlbumNameException(String s) {
super(s);
}
}
| 45 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler;
import jav... | 981 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler;
import jav... | 181 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler;
import jav... | 351 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2003 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
package org.prevayler;
import jav... | 336 |
github-java-corpus | 2,012 | package org.prevayler.foundation;
import java.io.File;
import java.io.IOException;
public class FileManager {
public static File produceDirectory(String directoryPath) throws IOException {
File directory = new File(directoryPath);
produceDirectory(directory);
return directory;
}
public static ... | 119 |
github-java-corpus | 2,012 | package org.prevayler.foundation;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.channels.FileLock;
/**
* A utility class for locking files that works for multiple threads. Naive file locking behaves unpredictably if some
* thread has already acquired a lo... | 546 |
github-java-corpus | 2,012 | package org.prevayler.foundation.network;
import java.util.HashMap;
/**
* Manages the sessions for a service
*
*/
public class SessionsManagerImpl implements SessionsManager {
private final long timeStamp;
private int _masterSessionId = 100;
private HashMap _sessions = new HashMap();
... | 199 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 325 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 170 |
github-java-corpus | 2,012 | /*
* NetworkSessionId.java
*
*/
package org.prevayler.foundation.network;
import java.io.Serializable;
/**
* Am immutable session identifier used to correlate sessions.
*
*
*/
public class NetworkSessionId implements Serializable {
private static final long serialVersionUID = -1158241173... | 219 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 106 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the license distributed along with this file for more det... | 189 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 116 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 150 |
github-java-corpus | 2,012 | /*
* NetworkServerObjectReceiver.java
*
* Copyright (c) 2005 MoneySwitch Ltd.
* Level 5, 55 Lavender St, Milsons Point 2061.
* All rights reserved.
*
*/
package org.prevayler.foundation.network;
/**
* Useful class comments should go here
*
* $Revision: 1.1 $
* $Date: 2005/03/02 06:04:18 $
* ... | 112 |
github-java-corpus | 2,012 | /*
* StubbornServerReceiverImpl.java
*
*
*/
package org.prevayler.foundation.network;
import java.io.IOException;
/**
* Inbound channel for a Server's network.
*
* Completes SessionId exchange in order to reconnect to the correct
* session. Informs the outbound channel of network reconnection.
... | 754 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//See the license dist... | 383 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 120 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 129 |
github-java-corpus | 2,012 | /*
* StubbornService.java
*
* Copyright (c) 2005 MoneySwitch Ltd.
* Level 5, 55 Lavender St, Milsons Point 2061.
* All rights reserved.
*
*/
package org.prevayler.foundation.network;
/**
* Useful class comments should go here
*
* $Revision: 1.1 $
* $Date: 2005/03/02 06:04:17 $
* $Author: pet... | 136 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 109 |
github-java-corpus | 2,012 | /*
* StubbornClientReceiverImpl.java
*
*
*/
package org.prevayler.foundation.network;
import java.io.IOException;
import org.prevayler.foundation.Cool;
/**
* The StubbronClientReceiver is an ObjectReceiver to the Client and has
* a connection to the Socket (Provider).
*
* It uses its being ... | 1,001 |
github-java-corpus | 2,012 | /*
* StubbornNetwork.java
*
* Copyright (c) 2005 MoneySwitch Ltd.
* Level 5, 55 Lavender St, Milsons Point 2061.
* All rights reserved.
*
*/
package org.prevayler.foundation.network;
import java.io.IOException;
/**
* Useful class comments should go here
*
* $Revision: 1.2 $
* $Date: 2005/... | 124 |
github-java-corpus | 2,012 | /*
* StubbornNetworkProxy.java
*
*
*/
package org.prevayler.foundation.network;
import java.io.IOException;
/**
* Stubborn Network Proxies are bound to each Service instance in
* a Prevayler providing Server services for Replication.
*
* This allows the binding to be dynamically connected to ... | 554 |
github-java-corpus | 2,012 | /*
* NetworkReceiverFactory.java
*
* Copyright (c) 2005 MoneySwitch Ltd.
* Level 5, 55 Lavender St, Milsons Point 2061.
* All rights reserved.
*
*/
package org.prevayler.foundation.network;
import java.io.IOException;
/**
* Useful class comments should go here
*
* $Revision: 1.1 $
* $Date: ... | 127 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the license distributed along with this file for more details.
//Con... | 397 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license distributed along with this file for more details.
//Contributions: A... | 95 |
github-java-corpus | 2,012 | /*
* StubbornNetworkClientConnector.java
*
*
*/
package org.prevayler.foundation.network;
/**
* Useful class comments should go here
*
*/
public interface StubbornNetworkClientConnector {
void disconnect();
} | 44 |
github-java-corpus | 2,012 | //Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the license distributed along with this file for more details.
... | 579 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2004 Klaus Wuestefeld
//This is free software. It is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//See the license dist... | 548 |
github-java-corpus | 2,012 | //Prevayler(TM) - The Free-Software Prevalence Layer.
//Copyright (C) 2001-2005 Klaus Wuestefeld
//This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//Contributions: Justin Sampson, Tobia... | 1,446 |
github-java-corpus | 2,012 | package org.prevayler.foundation;
/** Used to sequence operations that have to be performed in order by several concurrent threads.
*/
public class Turn {
private Turn _next;
private int _tickets = 0;
private boolean _isAlwaysSkipped;
public static Turn first() { return new Turn(1000000); } //Ar... | 232 |
github-java-corpus | 2,012 | package org.prevayler.foundation;
/** Cool things that are often needed.
*/
public class Cool {
public static void wait(Object object) {
try {
object.wait();
} catch (InterruptedException e) {
unexpected(e);
}
}
public static void sleep(long milliseconds) {
try {
Thread.sleep(m... | 145 |
github-java-corpus | 2,012 | package org.prevayler.foundation;
import java.io.IOException;
import java.io.OutputStream;
public abstract class Guided {
private final Turn _turn;
protected Guided(Turn turn) {
_turn = turn;
}
public void startTurn() {
_turn.start();
}
public void endTurn() {
_turn.end();
}
pu... | 83 |
github-java-corpus | 2,012 | package org.prevayler.foundation.serialization;
import com.thoughtworks.xstream.XStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
/**
* Writes and reads objects using XML. This serializer can ... | 672 |
github-java-corpus | 2,012 | package org.prevayler.foundation.serialization;
import com.skaringa.javaxml.DeserializerException;
import com.skaringa.javaxml.NoImplementationException;
import com.skaringa.javaxml.ObjectTransformer;
import com.skaringa.javaxml.ObjectTransformerFactory;
import com.skaringa.javaxml.SerializerException;
import... | 723 |
github-java-corpus | 2,012 | package org.prevayler.foundation.serialization;
import java.io.OutputStream;
import java.io.InputStream;
import java.io.IOException;
/**
* A strategy for writing objects to and reading objects from streams. Implementations <b>must</b> be safe for
* concurrent use by multiple threads.
* <p>
* If an imple... | 321 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.