- Librerias que tiene Javy

This commit is contained in:
2024-04-02 14:30:18 -06:00
parent d5c73471f8
commit 6509580779
54 changed files with 15917 additions and 0 deletions

211
B4A/HttpUtils2.xml Normal file
View File

@@ -0,0 +1,211 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<doclet-version-NOT-library-version>1.00</doclet-version-NOT-library-version>
<dependsOn>http</dependsOn>
<dependsOn>stringutils</dependsOn>
<class b4a_type="Service">
<name>anywheresoftware.b4a.samples.httputils2.httputils2service</name>
<shortname>HttpUtils2Service</shortname>
<comment>HttpUtils2 version 2.01
Service module
</comment>
<owner>process</owner>
<objectwrapper>java.lang.Class</objectwrapper>
<permission>android.permission.INTERNET</permission>
<field>
<name DesignerName="TempFolder">_tempfolder</name>
<returntype>String</returntype>
</field>
<method>
<name>process_globals</name>
<returntype>void</returntype>
</method>
</class>
<class>
<name>anywheresoftware.b4a.samples.httputils2.httpjob</name>
<shortname>HttpJob</shortname>
<comment>HttpUtils2 version 2.01
Class module
</comment>
<owner>process</owner>
<method>
<name>IsInitialized</name>
<comment>Tests whether the object has been initialized.</comment>
<returntype>boolean</returntype>
</method>
<method>
<name DesignerName="Class_Globals">_class_globals</name>
<returntype>String</returntype>
</method>
<method>
<name DesignerName="Complete">_complete</name>
<comment>Called by the service when job completes
</comment>
<returntype>String</returntype>
<parameter>
<name>id</name>
<type>int</type>
</parameter>
</method>
<method>
<name DesignerName="Download">_download</name>
<comment>Submits a HTTP GET request.
Consider using Download2 if the parameters should be escaped.
</comment>
<returntype>String</returntype>
<parameter>
<name>Link</name>
<type>String</type>
</parameter>
</method>
<method>
<name DesignerName="Download2">_download2</name>
<comment>Submits a HTTP GET request.
Encodes illegal parameter characters.
&lt;code&gt;Example:
job.Download2("http://www.example.com", _
Array As String("key1", "value1", "key2", "value2"))&lt;/code&gt;
</comment>
<returntype>String</returntype>
<parameter>
<name>Link</name>
<type>String</type>
</parameter>
<parameter>
<name>Parameters</name>
<type>String[]</type>
</parameter>
</method>
<method>
<name DesignerName="GetBitmap">_getbitmap</name>
<comment>Returns the response as a bitmap
</comment>
<returntype>anywheresoftware.b4a.objects.drawable.CanvasWrapper.BitmapWrapper</returntype>
</method>
<method>
<name DesignerName="GetInputStream">_getinputstream</name>
<returntype>anywheresoftware.b4a.objects.streams.File.InputStreamWrapper</returntype>
</method>
<method>
<name DesignerName="GetRequest">_getrequest</name>
<comment>Called by the service to get the request
</comment>
<returntype>anywheresoftware.b4a.http.HttpClientWrapper.HttpUriRequestWrapper</returntype>
</method>
<method>
<name DesignerName="GetString">_getstring</name>
<comment>Returns the response as a string encoded with UTF8.
</comment>
<returntype>String</returntype>
</method>
<method>
<name DesignerName="GetString2">_getstring2</name>
<comment>Returns the response as a string.
</comment>
<returntype>String</returntype>
<parameter>
<name>Encoding</name>
<type>String</type>
</parameter>
</method>
<method>
<name DesignerName="Initialize">_initialize</name>
<comment>Initializes the Job.
Name - The job's name. Note that the name doesn't need to be unique.
TargetModule - The activity or service that will handle the JobDone event.
</comment>
<returntype>String</returntype>
<parameter>
<name>ba</name>
<type>anywheresoftware.b4a.BA</type>
</parameter>
<parameter>
<name>Name</name>
<type>String</type>
</parameter>
<parameter>
<name>TargetModule</name>
<type>Object</type>
</parameter>
</method>
<method>
<name DesignerName="PostBytes">_postbytes</name>
<comment>Sends a POST request with the given string as the post data
</comment>
<returntype>String</returntype>
<parameter>
<name>Link</name>
<type>String</type>
</parameter>
<parameter>
<name>Data</name>
<type>byte[]</type>
</parameter>
</method>
<method>
<name DesignerName="PostFile">_postfile</name>
<comment>Sends a POST request with the given file as the post data.
This method doesn't work with assets files.
</comment>
<returntype>String</returntype>
<parameter>
<name>Link</name>
<type>String</type>
</parameter>
<parameter>
<name>Dir</name>
<type>String</type>
</parameter>
<parameter>
<name>FileName</name>
<type>String</type>
</parameter>
</method>
<method>
<name DesignerName="PostString">_poststring</name>
<comment>Sends a POST request with the given data as the post data.
</comment>
<returntype>String</returntype>
<parameter>
<name>Link</name>
<type>String</type>
</parameter>
<parameter>
<name>Text</name>
<type>String</type>
</parameter>
</method>
<method>
<name DesignerName="Release">_release</name>
<comment>Should be called to free resources held by this job.
</comment>
<returntype>String</returntype>
</method>
<field>
<name DesignerName="JobName">_jobname</name>
<returntype>String</returntype>
</field>
<field>
<name DesignerName="Success">_success</name>
<returntype>boolean</returntype>
</field>
<field>
<name DesignerName="Username">_username</name>
<returntype>String</returntype>
</field>
<field>
<name DesignerName="Password">_password</name>
<returntype>String</returntype>
</field>
<field>
<name DesignerName="ErrorMessage">_errormessage</name>
<returntype>String</returntype>
</field>
<field>
<name DesignerName="Tag">_tag</name>
<returntype>Object</returntype>
</field>
</class>
<ide_comment>Deprecated - Replaced by OkHttpUtils2</ide_comment>
<version>2.5</version>
</root>