Back to index

nordugrid-arc-nox  1.1.0~rc6
arc.java
Go to the documentation of this file.
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 1.3.36
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package nordugrid.arc;
00010 
00011 public class arc implements arcConstants {
00012   public static String FindTrans(String p) {
00013     return arcJNI.FindTrans(p);
00014   }
00015 
00016   public static String FindNTrans(String s, String p, long n) {
00017     return arcJNI.FindNTrans(s, p, n);
00018   }
00019 
00020   public static LogLevel string_to_level(String str) {
00021     return LogLevel.swigToEnum(arcJNI.string_to_level__SWIG_0(str));
00022   }
00023 
00024   public static boolean istring_to_level(String llStr, SWIGTYPE_p_Arc__LogLevel ll) {
00025     return arcJNI.istring_to_level(llStr, SWIGTYPE_p_Arc__LogLevel.getCPtr(ll));
00026   }
00027 
00028   public static boolean string_to_level(String str, SWIGTYPE_p_Arc__LogLevel ll) {
00029     return arcJNI.string_to_level__SWIG_1(str, SWIGTYPE_p_Arc__LogLevel.getCPtr(ll));
00030   }
00031 
00032   public static String level_to_string(LogLevel level) {
00033     return arcJNI.level_to_string(level.swigValue());
00034   }
00035 
00036   public static String TimeStamp(TimeFormat arg0) {
00037     return arcJNI.TimeStamp__SWIG_0(arg0.swigValue());
00038   }
00039 
00040   public static String TimeStamp() {
00041     return arcJNI.TimeStamp__SWIG_1();
00042   }
00043 
00044   public static String TimeStamp(Time arg0, TimeFormat arg1) {
00045     return arcJNI.TimeStamp__SWIG_2(Time.getCPtr(arg0), arg0, arg1.swigValue());
00046   }
00047 
00048   public static String TimeStamp(Time arg0) {
00049     return arcJNI.TimeStamp__SWIG_3(Time.getCPtr(arg0), arg0);
00050   }
00051 
00052   public static URLList ReadURLList(URL urllist) {
00053     return new URLList(arcJNI.ReadURLList(URL.getCPtr(urllist), urllist), true);
00054   }
00055 
00056   public static String tostring(ServiceType st) {
00057     return arcJNI.tostring(st.swigValue());
00058   }
00059 
00060   public static void GUID(SWIGTYPE_p_std__string guid) {
00061     arcJNI.GUID(SWIGTYPE_p_std__string.getCPtr(guid));
00062   }
00063 
00064   public static String UUID() {
00065     return arcJNI.UUID();
00066   }
00067 
00068   public static String string(StatusKind kind) {
00069     return arcJNI.string(kind.swigValue());
00070   }
00071 
00072   public static String ContentFromPayload(MessagePayload payload) {
00073     return arcJNI.ContentFromPayload(MessagePayload.getCPtr(payload), payload);
00074   }
00075 
00076   public static void stream(SWIGTYPE_p_std__ostream os) {
00077     arcJNI.stream(SWIGTYPE_p_std__ostream.getCPtr(os));
00078   }
00079 
00080   public static SWIGTYPE_p_std__ostream getStdout() {
00081     return new SWIGTYPE_p_std__ostream(arcJNI.getStdout(), false);
00082   }
00083 
00084   public static Logger getCredentialLogger() {
00085     long cPtr = arcJNI.CredentialLogger_get();
00086     return (cPtr == 0) ? null : new Logger(cPtr, false);
00087   }
00088 
00089 }