code
stringlengths
3
1.18M
language
stringclasses
1 value
package ru.gelin.android.weather.openweathermap; import android.content.Context; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import ru.gelin.android.weather.*; import ru.gelin.android.weather.notification.skin.impl.WeatherConditionFormat; import java.net.MalformedURLException...
Java
package ru.gelin.android.weather.openweathermap; import android.content.Context; import org.apache.http.client.methods.HttpGet; import org.json.JSONException; import org.json.JSONObject; import org.json.JSONTokener; import ru.gelin.android.weather.*; import ru.gelin.android.weather.source.DebugDumper; import ru.gelin....
Java
/* * Weather API. * Copyright (C) 2012 Denis Nelubin aka Gelin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ve...
Java
package ru.gelin.android.weather.openweathermap; import ru.gelin.android.weather.WeatherConditionType; import java.util.HashMap; import java.util.Map; /** * Creates the weather condition type by the ID. */ public class WeatherConditionTypeFactory { static private Map<Integer, WeatherConditionType> ID_MAP = n...
Java
/* * Weather API. * Copyright (C) 2012 Denis Nelubin aka Gelin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ve...
Java
package com.custom.collegeannotation; public class Foo { public static void main(String[] args) { try { // System.out.println(10/0); System.out.println("Added Syss "); System.out.println(getInfo("hello")); // Try with multi catch block } catch (ArithmeticException | NullPointerException exc...
Java
package com.custom.collegeannotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Inherited @Documented @Targe...
Java
package com.college.library; import com.custom.collegeannotation.CollegeDetails; @CollegeDetails(name="jbiet", id = "hello") public class Library { private String deptId; private String studentName; private String collegeName; public Library() { //no operations } public Library(String deptId, String stud...
Java
package com.college.library; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Method; import com.custom.collegeannotation.CollegeDetails; public class Test { public static void main(String[] args) { Library library = new Library("naveen", "hyd", "ban...
Java
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the G...
Java
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the G...
Java
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the G...
Java
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the G...
Java
package org.mobicents.smsc.ihub; import org.mobicents.protocols.ss7.map.MAPStackImpl; import org.mobicents.protocols.ss7.map.api.MAPProvider; import org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl; public class MAPSimulator { // MAP private MAPStackImpl mapStack; private MAPProvider mapProvider; // SCCP p...
Java
package org.mobicents.smsc.ihub; import java.util.concurrent.atomic.AtomicLong; import org.apache.log4j.Logger; import org.mobicents.protocols.ss7.map.api.MAPDialog; import org.mobicents.protocols.ss7.map.api.MAPDialogListener; import org.mobicents.protocols.ss7.map.api.MAPException; import org.mobicents.protocols.ss...
Java
/* * JBoss, Home of Professional Open Source * Copyright XXXX, Red Hat Middleware LLC, and individual contributors as indicated * by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a full listing * of individual contributors. * This copyrighted material is made available to ...
Java
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the G...
Java
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms o...
Java
package org.mobicents.smsc.slee.resources.smpp.server.events; import com.cloudhopper.smpp.pdu.PduRequest; public class PduRequestTimeout { private final PduRequest pduRequest; private final String systemId; public PduRequestTimeout(PduRequest pduRequest, String systemId) { this.pduRequest = pduRequest; this....
Java
package org.mobicents.smsc.slee.resources.smpp.server.events; public interface EventsType { public static final String REQUEST_TIMEOUT = "org.mobicents.resources.smpp.server.REQUEST_TIMEOUT"; public static final String SUBMIT_SM = "org.mobicents.resources.smpp.server.SUBMIT_SM"; public static final String DATA_S...
Java
package org.mobicents.smsc.slee.resources.smpp.server; import java.util.concurrent.atomic.AtomicLong; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.slee.facilities.Tracer; import javolution.util.FastMap; import org.mobicents.smsc.slee.resources.smpp.server.events.EventsType; import or...
Java
package org.mobicents.smsc.slee.resources.smpp.server; import javax.slee.resource.ActivityHandle; public class SmppServerTransactionHandle implements ActivityHandle { private final String smppSessionConfigurationName; private final SmppTransactionType smppTransactionType; private final int seqNumnber; private tr...
Java
package org.mobicents.smsc.slee.resources.smpp.server; import com.cloudhopper.smpp.pdu.PduRequest; public class SmppServerTransactionImpl implements SmppServerTransaction { private final SmppServerSessionImpl smppSession; private final SmppServerResourceAdaptor ra; private SmppServerTransactionHandle activityHan...
Java
package org.mobicents.smsc.slee.resources.smpp.server; import javax.naming.InitialContext; import javax.slee.Address; import javax.slee.AddressPlan; import javax.slee.SLEEException; import javax.slee.facilities.EventLookupFacility; import javax.slee.facilities.Tracer; import javax.slee.resource.ActivityAlreadyExistsEx...
Java
package org.mobicents.smsc.slee.resources.smpp.server; public enum SmppTransactionType { INCOMING, OUTGOING; }
Java
package org.mobicents.smsc.slee.resources.smpp.server; import java.util.regex.Pattern; import javax.slee.SLEEException; import javax.slee.resource.ActivityAlreadyExistsException; import javax.slee.resource.StartActivityException; import org.apache.log4j.Logger; import com.cloudhopper.commons.util.windowing.WindowFu...
Java
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the G...
Java
package org.mobicents.smsc.slee.resources.smpp.server; public interface SmppServerSessions { //TODO : May be rename this method as we want SmppServerSession to send SMS to ESME public SmppServerSession getSmppSession(byte ton, byte npi, String address); public SmppServerSession getSmppSession(String systemId);...
Java
package org.mobicents.smsc.slee.resources.smpp.server; public interface SmppServerTransactionACIFactory { javax.slee.ActivityContextInterface getActivityContextInterface(SmppServerTransaction txn); }
Java
package org.mobicents.smsc.slee.resources.smpp.server; import javax.slee.SLEEException; import javax.slee.resource.ActivityAlreadyExistsException; import javax.slee.resource.StartActivityException; import com.cloudhopper.smpp.SmppBindType; import com.cloudhopper.smpp.SmppSession.Type; import com.cloudhopper.smpp.pdu....
Java
package org.mobicents.smsc.slee.resources.smpp.server; public interface SmppServerTransaction { public SmppServerSession getSmppSession(); }
Java
package org.mobicents.smsc.slee.services.smpp.server.events; import java.io.Serializable; import java.sql.Timestamp; public class SmsEvent implements Serializable { /** * Mobicents SMSC variables */ private String messageId; /** * System ID is the ESME System ID. Used only when SMS is coming from ESME *...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
package org.mobicents.smsc.slee.services.mo; import javax.slee.SbbLocalObject; public interface MoSbbLocalObject extends SbbLocalObject { }
Java
package org.mobicents.smsc.slee.services.mo; import java.sql.Timestamp; import javax.slee.ActivityContextInterface; import javax.slee.InitialEventSelector; import javax.slee.facilities.ActivityContextNamingFacility; import javax.slee.facilities.NameAlreadyBoundException; import javax.slee.nullactivity.NullActivity; ...
Java
package org.mobicents.smsc.slee.services.mo; import javax.slee.ActivityContextInterface; public interface MoActivityContextInterface extends ActivityContextInterface { public int getPendingEventsOnNullActivity(); public void setPendingEventsOnNullActivity(int events); }
Java
package org.mobicents.smsc.slee.services.mo; import javax.naming.Context; import javax.naming.InitialContext; import javax.slee.ActivityContextInterface; import javax.slee.CreateException; import javax.slee.RolledBackContext; import javax.slee.Sbb; import javax.slee.SbbContext; import javax.slee.facilities.Tracer; im...
Java
package org.mobicents.smsc.slee.services.alert; import javax.naming.Context; import javax.naming.InitialContext; import javax.slee.ActivityContextInterface; import javax.slee.CreateException; import javax.slee.InitialEventSelector; import javax.slee.RolledBackContext; import javax.slee.Sbb; import javax.slee.SbbContex...
Java
package org.mobicents.smsc.slee.services.smpp.server.rx; import javax.naming.Context; import javax.naming.InitialContext; import javax.slee.ActivityContextInterface; import javax.slee.CreateException; import javax.slee.EventContext; import javax.slee.RolledBackContext; import javax.slee.Sbb; import javax.slee.SbbConte...
Java
package org.mobicents.smsc.slee.services.smpp.server.tx; import java.sql.Timestamp; import javax.naming.Context; import javax.naming.InitialContext; import javax.slee.ActivityContextInterface; import javax.slee.CreateException; import javax.slee.EventContext; import javax.slee.RolledBackContext; import javax.slee.Sbb...
Java
package org.mobicents.smsc.slee.services.smpp.server.tx; import javax.slee.ActivityContextInterface; public interface TxSmppServerSbbActivityContextInterface extends ActivityContextInterface { public int getPendingEventsOnNullActivity(); public void setPendingEventsOnNullActivity(int events); }
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
package org.mobicents.smsc.smpp; public interface SMPPServerServiceMBean { public static final String ONAME = "org.mobicents.smsc:service=SMPPServerService"; public void start() throws Exception; public void stop(); /** * Returns DefaultSmppServerHandler jndi name. */ public String getJndiName(); }
Java
package org.mobicents.smsc.smpp; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import org.apache.log4j.Logger; import org.jboss.system.ServiceMBeanSupport; public class SMPPServerService extends ServiceMBeanSupport implements SMPPServerServiceMBean { private ...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
package org.mobicents.smsc.smpp; public enum SmppInterfaceVersionType { SMPP33("3.3"), SMPP34("3.4"), SMPP50("5.0"); private static final String TYPE_SMPP33 = "3.3"; private static final String TYPE_SMPP34 = "3.4"; private static final String TYPE_SMPP50 = "5.0"; private String type = null; ...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
package org.mobicents.smsc.smpp; import com.cloudhopper.smpp.SmppServerSession; import com.cloudhopper.smpp.SmppSessionHandler; import com.cloudhopper.smpp.pdu.BaseBindResp; import com.cloudhopper.smpp.type.SmppProcessingException; public interface SmppSessionHandlerInterface { public SmppSessionHandler sessionCrea...
Java
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser...
Java
package org.mobicents.ss7.management.console.impl; import org.mobicents.ss7.management.console.CommandContext; import org.mobicents.ss7.management.console.CommandHandlerWithHelp; import org.mobicents.ss7.management.console.Tree; import org.mobicents.ss7.management.console.Tree.Node; /** * @author amit bhayani * *...
Java
package pl.koziolekweb.annotations; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.LOCAL_VARIABLE; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementTyp...
Java
package pl.koziolekweb.annotations; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.LOCAL_VARIABLE; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementTyp...
Java
package de.mpg.mpiz.koeln.anna.listener.progresslistener; import java.util.Collection; import java.util.Formatter; import de.kerner.commons.file.FileUtils; import de.mpg.koeln.anna.core.events.AnnaEvent; import de.mpg.koeln.anna.core.events.StepStateChangeEvent; import de.mpg.mpiz.koeln.anna.listener.abstractlistener...
Java
package de.mpg.mpiz.koeln.anna.listener.progresslistener; import java.util.Collection; import java.util.Formatter; import de.kerner.commons.file.FileUtils; import de.mpg.koeln.anna.core.events.AnnaEvent; import de.mpg.koeln.anna.core.events.StepStateChangeEvent; import de.mpg.mpiz.koeln.anna.listener.abstractlistener...
Java
package de.mpg.mpiz.koeln.anna.step.repeatmasker.local; import java.io.File; import java.util.List; import de.kerner.commons.CommandStringBuilder; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.step.common.AbstractStepProcessBuilder; import de.mpg.mpiz.koeln.anna.step.rep...
Java
package de.mpg.mpiz.koeln.anna.step.repeatmasker.local; import java.io.File; import java.util.List; import de.kerner.commons.CommandStringBuilder; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.step.common.AbstractStepProcessBuilder; import de.mpg.mpiz.koeln.anna.step.rep...
Java
package de.mpg.mpiz.koeln.anna.step.conrad.data.adapter; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import de.bioutils.gff.GFFFormatErrorException; import de.bioutils.gff.element.NewGFFElement; import de.bioutils.gff.element.NewGFFEleme...
Java
package de.mpg.mpiz.koeln.anna.step.conrad.data.adapter; import de.bioutils.gff.file.NewGFFFile; import de.bioutils.gff3.file.GFF3File; public interface GFF3Converter { NewGFFFile convert(GFF3File file); }
Java
package de.mpg.mpiz.koeln.anna.step.conrad.predict.lsf; import java.io.File; import java.util.List; import de.kerner.commons.CommandStringBuilder; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.step.common.AbstractStepProcessBuilder; import de.mpg.mpiz.koeln.anna.step.com...
Java
package de.mpg.mpiz.koeln.anna.step.conrad.predict.lsf; import java.io.File; import java.util.List; import de.kerner.commons.CommandStringBuilder; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.step.common.AbstractStepProcessBuilder; import de.mpg.mpiz.koeln.anna.step.com...
Java
package de.mpg.mpiz.koeln.anna.step.common.lsf; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * * @author Alexander Kerner * @ThreadSave stateless * @lastVisit 2009-08-12 * @Exceptions nothing to do * */ public class LSF { public ...
Java
package de.mpg.mpiz.koeln.anna.step.common.lsf; import java.io.File; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * * @author Alexander Kerner * @ThreadSave stateless * @lastVisit 2009-08-12 * @Exceptions nothing to do * */ public class LSF { public ...
Java
package de.mpg.mpiz.koeln.anna.step.getresults; import de.mpg.mpiz.koeln.anna.abstractstep.AbstractGFF3AnnaStep; import de.mpg.mpiz.koeln.anna.server.data.GFF3DataBean; import de.mpg.mpiz.koeln.anna.server.dataproxy.DataProxy; import de.mpg.mpiz.koeln.anna.step.common.StepExecutionException; public class GetResults e...
Java
package de.mpg.mpiz.koeln.anna.step.getresults; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import de.bioutils.gff3.element.GFF3Element; import de.bioutils.gff3.file.GFF3FileImpl; import de.kerner.commons.file.FileUtils; import de.mpg.mpiz.koeln.anna.abstr...
Java
package de.mpg.mpiz.koeln.anna.step.repeatmasker.lsf; import java.io.File; import java.util.List; import de.kerner.commons.CommandStringBuilder; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.step.common.AbstractStepProcessBuilder; import de.mpg.mpiz.koeln.anna.step.commo...
Java
package de.mpg.mpiz.koeln.anna.step.repeatmasker.lsf; import java.io.File; import java.util.List; import de.kerner.commons.CommandStringBuilder; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.step.common.AbstractStepProcessBuilder; import de.mpg.mpiz.koeln.anna.step.commo...
Java
package de.mpg.mpiz.koeln.anna.step.inputsequencereader; import java.io.File; import java.util.ArrayList; import java.util.Collection; import de.bioutils.fasta.FASTAElement; import de.bioutils.fasta.NewFASTAFileImpl; import de.mpg.mpiz.koeln.anna.abstractstep.AbstractGFF3AnnaStep; import de.mpg.mpiz.koeln.anna.server...
Java
package de.mpg.mpiz.koeln.anna.step.inputsequencereader; import java.io.File; import java.util.ArrayList; import java.util.Collection; import de.bioutils.fasta.FASTAElement; import de.bioutils.fasta.NewFASTAFileImpl; import de.mpg.mpiz.koeln.anna.abstractstep.AbstractGFF3AnnaStep; import de.mpg.mpiz.koeln.anna.server...
Java
package de.mpg.mpiz.koeln.anna.step.repeatmasker.common; public class RepeatMaskerConstants { private RepeatMaskerConstants(){} public final static String WORKING_DIR_KEY = "anna.step.repeatMasker.workingDir"; public final static String EXE_DIR_KEY = "anna.step.repeatMasker.exeDir"; public final static String ...
Java
package de.mpg.mpiz.koeln.anna.step.repeatmasker.common; import java.io.File; import java.io.IOException; import java.util.ArrayList; import org.osgi.framework.BundleContext; import de.bioutils.fasta.NewFASTAFileImpl; import de.bioutils.gff.GFFFormatErrorException; import de.bioutils.gff.element.NewGFFElement; impor...
Java
package de.mpg.mpiz.koeln.anna.step.repeatmasker.common; public class RepeatMaskerConstants { private RepeatMaskerConstants(){} public final static String WORKING_DIR_KEY = "anna.step.repeatMasker.workingDir"; public final static String EXE_DIR_KEY = "anna.step.repeatMasker.exeDir"; public final static String ...
Java
package de.mpg.mpiz.koeln.anna.step.repeatmasker.common; import java.io.File; import java.io.IOException; import java.util.ArrayList; import org.osgi.framework.BundleContext; import de.bioutils.fasta.NewFASTAFileImpl; import de.bioutils.gff.GFFFormatErrorException; import de.bioutils.gff3.element.GFF3Element; import...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy; public interface DataModifier<V> { void modifiyData(V v); }
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy; import de.mpg.mpiz.koeln.anna.server.data.DataBeanAccessException; public interface DataProxy<V> { /** * * <p> * Atomar operation on data. Data will be synchronized bevor and after this * operation. * </p> * * @param v * Type of Data, tha...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import java.io.EOFException; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.OutputStre...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Properties; import de.kerner.commons.file.FileUtils; import de.kerner.osgi.commons.logger.dispatcher.ConsoleLogger; import de.ke...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.server.data.DataBean; import de.mpg.mpiz.koeln.anna.server.data.impl.GFF3DataBeanImpl; public class GFF3DiskSerialisation extends AbstractDiskSerialisation { protected ...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; public class SimpleDiskSerialisation extends GFF3DiskSerialisation { public SimpleDiskSerialisation() { super(); } public SimpleDiskSerialisation(LogDispatcher logger) { super(logger); } ...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import java.util.Hashtable; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcherImpl; import de.mpg.mpiz.ko...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import java.io.File; import de.mpg.mpiz.koeln.anna.server.data.DataBean; import de.mpg.mpiz.koeln.anna.server.data.DataBeanAccessException; /** * * @author Alexander Kerner * @lastVisit 2009-09-21 * */ interface SerialisationStrategy { <V extends DataBean...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import java.io.File; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.server.data.DataBean; import de.mpg.mpiz.koeln.anna.server.data.DataBeanAccessException; /** * * @author Alexander Kerner * @lastVisit 2009-09-21...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy; import de.mpg.mpiz.koeln.anna.server.data.GFF3DataBean; public interface GFF3DataProxy extends DataProxy<GFF3DataBean>{ }
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy; public interface DataModifier<V> { void modifiyData(V v); }
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy; import de.mpg.mpiz.koeln.anna.server.data.DataBeanAccessException; public interface DataProxy<V> { /** * * <p> * Atomar operation on data. Data will be synchronized bevor and after this * operation. * </p> * * @param v * Type of Data, tha...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import java.io.EOFException; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.OutputStre...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Properties; import de.kerner.commons.file.FileUtils; import de.kerner.osgi.commons.logger.dispatcher.ConsoleLogger; import de.ke...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.mpg.mpiz.koeln.anna.server.data.DataBean; import de.mpg.mpiz.koeln.anna.server.data.impl.GFF3DataBeanImpl; public class GFF3DiskSerialisation extends AbstractDiskSerialisation { protected ...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; public class SimpleDiskSerialisation extends GFF3DiskSerialisation { public SimpleDiskSerialisation() { super(); } public SimpleDiskSerialisation(LogDispatcher logger) { super(logger); } ...
Java
package de.mpg.mpiz.koeln.anna.server.dataproxy.impl; import java.util.Hashtable; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcher; import de.kerner.osgi.commons.logger.dispatcher.LogDispatcherImpl; import de.mpg.mpiz.ko...
Java