Android Open Source - logback-android-ui Laui Content Uri






From Project

Back to project page logback-android-ui.

License

The source code is released under:

Copyright (C) 2011-2012 Vanderbilt University Permission is hereby granted, free of charge, to any person obtaining a copy of this data, including any software or models in source or binary form, as ...

If you think the Android project logback-android-ui listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*Copyright (C) 2010-2012 Institute for Software Integrated Systems (ISIS)
This software was developed by the Institute for Software Integrated
Systems (ISIS) at Vanderbilt University, Tennessee, USA for the 
Transformative Apps program under DARPA, Contract # HR011-10-C-0175.
The United States Government has unlimited rights to this software. 
The US government has the right to use, modify, reproduce, release, 
perform, display, or disclose computer software or computer software 
documentation in whole or in part, in any manner and for any 
purpose whatsoever, and to have or authorize others to do so.
*//*from   w ww . j a  va  2s.  co m*/
package edu.vu.isis.logger.provider;

import android.net.Uri;
import edu.vu.isis.logger.lib.LauiContentProvider.AppenderTable;
import edu.vu.isis.logger.lib.LauiContentProvider.LoggerTable;

/**
 * Allows the generation of the content URIs for the tables in the LAUI Content
 * Provider. This class is necessary because each application's LAUI Content
 * Provider has a different authority based on its package name.
 * 
 * @author Nick King
 * 
 */
public class LauiContentUri {

  private Uri mLoggerTableContentUri;
  private Uri mAppenderTableContentUri;

  public LauiContentUri(String authority) {
    mLoggerTableContentUri = Uri.parse("content://" + authority + "/"
        + LoggerTable.PATH_MULTIPLE);
    mAppenderTableContentUri = Uri.parse("content://" + authority + "/"
        + AppenderTable.PATH_MULTIPLE);
  }

  public Uri getLoggerTableContentUri() {
    return mLoggerTableContentUri;
  }

  public Uri getAppenderTableContentUri() {
    return mAppenderTableContentUri;
  }

}




Java Source Code List

edu.vu.isis.logger.lib.AppenderStoreAction.java
edu.vu.isis.logger.lib.AppenderStore.java
edu.vu.isis.logger.lib.LauiContentProvider.java
edu.vu.isis.logger.lib.Loggers.java
edu.vu.isis.logger.lib.Tree.java
edu.vu.isis.logger.provider.LauiContentUri.java
edu.vu.isis.logger.ui.ContextSelector.java
edu.vu.isis.logger.ui.FileLogViewer.java
edu.vu.isis.logger.ui.HintSpinner.java
edu.vu.isis.logger.ui.LogViewerBase.java
edu.vu.isis.logger.ui.LogViewerPreferences.java
edu.vu.isis.logger.ui.LogcatLogViewer.java
edu.vu.isis.logger.ui.LoggerEditor.java
edu.vu.isis.logger.util.ByteBuffers.java
edu.vu.isis.logger.util.FileLogReader.java
edu.vu.isis.logger.util.LogElementAdapter.java
edu.vu.isis.logger.util.LogElement.java
edu.vu.isis.logger.util.LogLevel.java
edu.vu.isis.logger.util.LogReader.java
edu.vu.isis.logger.util.LogcatLogReader.java
edu.vu.isis.logger.util.ScrollingFileReader.java
edu.vu.isis.logger.util.TreeAdapter.java