text
stringlengths
3
1.18M
package org.dodgybits.shuffle.android.list.activity; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.view.ViewPager; import android.util.Log; imp...
package org.dodgybits.shuffle.android.list.activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app....
package org.dodgybits.shuffle.android.list.activity; import android.content.ContentUris; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app....
package org.dodgybits.shuffle.android.server.sync.listener; import android.content.Context; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.persistence.ContextPersister; import org.dodgybits.shuffle.android.core.model.persistence.ProjectPersister; import org.do...
package org.dodgybits.shuffle.android.server.sync; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.android.core.model.protocol.EntityDirectory; import org.dodgybits.s...
package org.dodgybits.shuffle.android.server.sync; import android.content.Intent; import android.util.Log; import com.google.inject.Inject; import com.google.protobuf.InvalidProtocolBufferException; import com.textuality.aerc.AppEngineClient; import com.textuality.aerc.Response; import org.dodgybits.shuffle.android.pr...
package org.dodgybits.shuffle.android.server.sync; import android.database.Cursor; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.android.core.model.persistence.Cont...
package org.dodgybits.shuffle.android.server.sync.processor; import android.database.Cursor; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.persistence...
package org.dodgybits.shuffle.android.server.sync.processor; import android.database.Cursor; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.Project; im...
package org.dodgybits.shuffle.android.server.sync.processor; import android.util.Log; import com.google.inject.Inject; import org.dodgybits.shuffle.android.core.model.Context; import org.dodgybits.shuffle.android.core.model.Id; import org.dodgybits.shuffle.android.core.model.Project; import org.dodgybits.shuffle.andro...
/* * Copyright (C) 2012 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.server.sync; import android.accounts.Account; import android.app.Activity; import android.content.Intent; import android.os.AsyncTask; import android.widget.Toast; import com.textuality.aerc.Authenticator; import org.dodgybits.shuffle.android.preference.model.Preferences; import ...
/* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
package org.dodgybits.shuffle.android.server.gcm; import android.content.Context; import android.os.AsyncTask; import android.util.Log; import com.google.android.gcm.GCMRegistrar; import com.google.inject.Inject; import org.dodgybits.shuffle.android.preference.model.Preferences; public class GCMInitializer { priv...
package org.dodgybits.shuffle.android.server.gcm; /* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
package org.dodgybits.shuffle.android.preference.view; public class Progress { private int mProgressPercent; private String mDetails; private boolean mIsError; private Runnable mErrorUIAction; public static Progress createProgress(int progressPercent, String details) { return new Progress(progressPercent, det...
package org.dodgybits.shuffle.android.preference.fragment; import android.accounts.Account; import android.accounts.AccountManager; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android....
package org.dodgybits.shuffle.android.preference.model; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import org.dodgybits.shuffle.android.core.model.Id; import org...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.preference.activity; import android.app.Dialog; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import android.view.View; import com.google.inject.Inject; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.preference.fragment....
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.preference.activity; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.content.DialogInterface.OnClickListener; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.os.En...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.preference.activity; import android.database.Cursor; import android.os.AsyncTask; import android.os.Bundle; import android.os.Environment; import android.text.TextUtils; import android.util.Log; import android.view.View; import android.widget.*; import com.google.common.collect.Se...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqli...
package org.dodgybits.shuffle.android.persistence.migrations; import android.database.sqlite.SQLiteDatabase; public interface Migration { public void migrate(SQLiteDatabase db); }
package org.dodgybits.shuffle.android.persistence.migrations; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle....
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ReminderProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqlite.SQLiteDatabase; public class V11Migration implements Migration { ...
package org.dodgybits.shuffle.android.persistence.migrations; import static org.dodgybits.shuffle.android.persistence.provider.ContextProvider.CONTEXT_TABLE_NAME; import android.database.sqlite.SQLiteDatabase; public class V9Migration implements Migration { @Override public void migrate(SQLiteDatabase db) ...
package org.dodgybits.shuffle.android.persistence.migrations; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.provider.BaseColumns; import android.util.Log; import java.util.HashMap; import java.util.Map; import java.util.Se...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sq...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ContextProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqli...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import android.database.sqlite.SQLiteDatabase; public class V13Migration implements Migration { @Override public void migrate(SQLiteDatabase db) { // Shuffle v1.4...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.AbstractCollectionProvider; import org.dodgybits.shuffle.android.persistence.provider.ProjectProvider; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.da...
package org.dodgybits.shuffle.android.persistence.migrations; import org.dodgybits.shuffle.android.persistence.provider.TaskProvider; import android.database.sqlite.SQLiteDatabase; public class V10Migration implements Migration { @Override public void migrate(SQLiteDatabase db) { // Shuffle v1.1 (1st ...
package org.dodgybits.shuffle.android.persistence.migrations; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.util.Log; import com.google.common.collect.Sets; import org.dodgybits.shuffle.android.persistence.provider.TaskProvide...
package org.dodgybits.shuffle.android.persistence.provider; import android.net.Uri; public class ReminderProvider extends AbstractCollectionProvider { private static final String AUTHORITY = Shuffle.PACKAGE+".reminderprovider"; public static final String cUpdateIntent = "org.dodgybits.shuffle.android.REM...
package org.dodgybits.shuffle.android.persistence.provider; import android.net.Uri; import android.provider.BaseColumns; public class ContextProvider extends AbstractCollectionProvider { public static final String CONTEXT_TABLE_NAME = "context"; public static final String UPDATE_INTENT = "org.dodgybits...
package org.dodgybits.shuffle.android.persistence.provider; import android.content.ContentUris; import android.content.ContentValues; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; import android.pr...
/** * */ package org.dodgybits.shuffle.android.persistence.provider; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import org.dodgybits.shuffle.android.persistence.migrations.*; import java.util.Se...
package org.dodgybits.shuffle.android.persistence.provider; import android.app.SearchManager; import android.content.*; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri;...
/* * Copyright (C) 2009 Android Shuffle Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
package org.dodgybits.shuffle.android.persistence.provider; import android.net.Uri; import android.provider.BaseColumns; public class ProjectProvider extends AbstractCollectionProvider { public static final String PROJECT_TABLE_NAME = "project"; public static final String UPDATE_INTENT = "org.dodg...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.dodgybits.shuffle.android.widget; import android.appwidget.AppWidgetManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; public class RoboAppWidgetProvider extends RoboBroadcastReceiver { @Override protected void handleReceive(Context context, Intent i...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.dodgybits.shuffle.android.widget; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.*; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android.core.view.IconNameCountListAdaptor; import org.dodgybits.shuffle.android.core.view.ListIcons; ...
package org.dodgybits.shuffle.android.widget; import android.app.Dialog; import android.appwidget.AppWidgetManager; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.v4.app.FragmentTransaction; import com.google.inject.Inject; import org.dodgybits...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package org.dodgybits.shuffle.android.widget; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.graphics.drawable.GradientDrawable; import android.widget.RelativeLayout; import org.dodgybits.android.shuffle.R; import org.dodgybits.shuffle.android....
package org.dodgybits.shuffle.android.widget; import roboguice.RoboGuice; import roboguice.inject.RoboInjector; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; /** * To ensure proper ContextScope usage, override the handleReceive method * * Replace with rob...
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
package com.significantfiles.io; import java.lang.ref.WeakReference; public class FileCache { private WeakReference<FileCacheEntry> entry; }
package com.significantfiles.io; public class FileCacheEntry { }
package com.significantfiles.io; import java.lang.ref.WeakReference; public class FileResource { private final String path = null; private FileCache cache; }
package com.significantfiles.properties.config.metadata; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; import com.significantfiles.properties.util.config.PropertiesBas...
package com.significantfiles.properties.config.metadata; public enum ConstructorType { DEFAULT, FACTORY_BASED, PROPERTIES_BASED }
package com.significantfiles.properties.config.metadata; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import com.significantfiles.properties.util.config.PropertiesBasedObjectFactory; public class ConstructorMetaData<T> { private final Constructor<T> construct...
package com.significantfiles.properties.config.metadata; import java.lang.reflect.Method; public class MethodUtils { public static String printMethodHeader(final Method method) { // FINEPRint: // method.getAnnotations(); return method.getDeclaringClass().getName() + "." + method.getName() + "(...
package com.significantfiles.properties.config.metadata; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import org.apache.log4j.Logger; import com.significantfiles.properties.util.config.GetterInterfaceBindingGuiceAbstractModul; import com.significantfiles.properties.util.config.gui...
package com.significantfiles.properties.config.metadata; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; import org.apache.log4j.Logger; import com.significantfiles.properties.ut...
package com.significantfiles.properties.config.metadata; import java.lang.reflect.Method; public class PropertyBinding<T> { private final T value; private final Class<?> annotationType; public PropertyBinding(final Class<?> annotationType, final T value, final Method getter) { this.annotationType...
package com.significantfiles.properties.config.metadata; public enum MethodType { SETTER, GETTER, IGNORE }
package com.significantfiles.properties.config.metadata; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; @Target({ METHOD }) @Retention(RUNTIME) public @interface Pro...
package com.significantfiles.properties.config.metadata; import java.lang.reflect.Method; /** * Exception to mark problems with Getters inside PropertyBasedObjectFactory/GuiceModule. * * @author Andreas Siebert, contentteam AG (asiebert@contentteam.com) */ public class CorruptGetterException extends Run...
package com.significantfiles.properties.util.config; import java.lang.annotation.Annotation; import java.lang.reflect.Method; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.apache.log4j.Logger; import com.google.inject.AbstractModule; import com.significantfiles.prop...
package com.significantfiles.properties.util.config.converter; import java.io.File; import org.apache.log4j.Logger; public class FileConverter implements Converter<File>{ private static final Log LOG = new Log(); public File from(final String input) { final File file = new File(input); final...
package com.significantfiles.properties.util.config.converter; public class LongConverter implements Converter<Long> { public Long from(final String input) { return Long.valueOf(input); } public String to(final Long object) { return String.valueOf( object ); } }
package com.significantfiles.properties.util.config.converter; import java.lang.reflect.Constructor; public class GenericStringBasedConstructorConverter implements Converter<Object> { private final Class paramClass; private final Constructor constructor; public GenericStringBasedConstructorConverter(fin...
package com.significantfiles.properties.util.config.converter; public class IntegerConverter implements Converter<Integer> { public Integer from(final String input) { return Integer.valueOf(input); } public String to(final Integer object) { return String.valueOf( object ); } }
package com.significantfiles.properties.util.config.converter; public class StringConverter implements Converter<String> { public String from(final String input) { return String.valueOf( input ); } public String to(final String object) { return String.valueOf( object ); } }
package com.significantfiles.properties.util.config.converter; import java.lang.reflect.Constructor; import org.apache.log4j.Logger; public class GenericConverterFactory { private final Log LOG = new Log(); public Converter<?> createConverter(final Class<?> paramType) { LOG.tryToIdentifyGenericConst...
package com.significantfiles.properties.util.config.converter; public interface Converter<T> { public T from( final String input ); public String to( final T object ); }
package com.significantfiles.properties.util.config.guice; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annota...
package com.significantfiles.properties.util.config.guice; import java.lang.reflect.Method; public interface MethodMatcher { public boolean match(final Method method); }
package com.significantfiles.properties.util.config.guice; import java.lang.reflect.Method; import java.util.Iterator; public interface GetterInterface { public Iterator<Method> getterMethods(); }
package com.significantfiles.properties.util.config.guice; import java.lang.reflect.Method; import java.util.Collections; import java.util.Iterator; import java.util.List; public class EmptyGetterInterface implements GetterInterface { private final static EmptyGetterInterface INSTANCE = new EmptyGetterInte...
package com.significantfiles.properties.util.config; public class PropertiesBasedObjectMappingException extends RuntimeException { public PropertiesBasedObjectMappingException(final String msg) { super( msg ); } private static final long serialVersionUID = 1L; }
package com.significantfiles.properties.util.config; public class PropertyBasedObjectCreationException extends RuntimeException { public PropertyBasedObjectCreationException(final String msg, final Throwable cause) { super(msg, cause); } /** * */ private static final long serialVersionUID = 1L;...
package com.significantfiles.properties.util; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class TimeCalc { public static Date convert (final String time) { final SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss,SSS"); try { return sdf...
package com.significantfiles.properties.util; public class Types { public static final boolean isString( final Class<?> type) { return false; } }
package com.significantfiles.properties.io.file; import java.io.File; import java.io.FilenameFilter; public class EndsWithFileNameFilter implements FilenameFilter { private String extension; public EndsWithFileNameFilter(final String extension) { if (extension == null) throw new IllegalArgumentExc...
package com.significantfiles.snapshot.config; import java.util.concurrent.TimeUnit; public interface ModelConfig { public static final int NUMBER_OF_SERIALIZATION_THREADS = 10; public static final long TIME_TO_WAIT_FOR_SERIALIZATION = 1000; public static final TimeUnit TIME_TO_WAIT_FOR_SERIALIZATIO...
package com.significantfiles.snapshot.config; import java.io.File; import com.significantfiles.snapshot.engine.rt.x.IllegalConfigException; import com.significantfiles.snapshot.util.FileUtil; public class TransactionStorageConfig { private File dir; private int snapshotRange; public void setDir(f...
package com.significantfiles.snapshot.config; public interface SnapshotConfig { public static int WRITER_THREAD_SLEEP = 100; }
package com.significantfiles.snapshot.engine.config; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target( { ElementType.TYPE }) public @interface Persistenc...
package com.significantfiles.snapshot.engine.config.x; public class IllegalAnnotationValueException extends Exception { public IllegalAnnotationValueException(final Class<?> annotation, final String msg) { //TODO exceptionnicht komplett implementiert } private static final long serialVersionUID = ...
package com.significantfiles.snapshot.engine; import com.significantfiles.snapshot.engine.tx.Transaction; import com.significantfiles.snapshot.engine.tx.TransactionException; public interface IEngine { public void execute(final Transaction<?> tx) throws TransactionException; }
package com.significantfiles.snapshot.engine.rt; public interface IIndexChangeListenerItf<T> { // muss ein Listener auf dem Setter liegen public void changed( ); }