Android Open Source - owncloud-gallery Owncloud Helper






From Project

Back to project page owncloud-gallery.

License

The source code is released under:

GNU General Public License

If you think the Android project owncloud-gallery 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

package library;
/*from   w  w w  .  j a  v  a2s.  com*/
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

public class OwncloudHelper {

  public static Future<VerifyHostnameResult> VerifyHostname(String Hostname) {
    Callable<VerifyHostnameResult> call = new VerifyHostnameCallable(
        Hostname, Properties.getAppInt("http.timeout"), false);
    ExecutorService executorService = Executors.newSingleThreadExecutor();
    return executorService.submit(call);
  }

  public static Future<VerifyHostnameResult> VerifyHostname(String Hostname,
      boolean acceptAllCertificates) {
    Callable<VerifyHostnameResult> call = new VerifyHostnameCallable(
        Hostname, Properties.getAppInt("http.timeout"),
        acceptAllCertificates);
    ExecutorService executorService = Executors.newSingleThreadExecutor();
    return executorService.submit(call);
  }
}




Java Source Code List

library.OwncloudHelper.java
library.Properties.java
library.TrustModifier.java
library.VerifyHostnameCallable.java
library.VerifyHostnameResult.java
md.steuer.mobile.owncloudgallery.MainActivity.java
md.steuer.mobile.owncloudgallery.OwncloudGallery.java
md.steuer.mobile.owncloudgallery.viewcontroller.GalleryViewController.java
md.steuer.mobile.owncloudgallery.viewcontroller.HelpViewController.java
md.steuer.mobile.owncloudgallery.viewcontroller.LoginViewController.java
md.steuer.mobile.utils.DebugUtils.java
md.steuer.mobile.utils.TextFieldKeyboardDelegate.java