public class

MWSUtils

extends Object
java.lang.Object
   ↳ com.microstrategy.webservices.MWSUtils

Summary

Public Constructors
MWSUtils()
Constructor
Public Methods
ArrayOfMWSResourceReturnInfo GetResources(ArrayOfMWSResourceRequestInfo arrayResources)
Read contents of one or more files
byte[] ReadFromFile(String sFile, boolean limited)
byte[] ReadFromFile(String sFile)
static int compareVersion(String versionA, String versionB)
compare the versions
byte[][] getImageArray()
Returns the entire Array of Byte[] Array.
int getImageArraySize()
Returns the size of the array of bytes array.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MWSUtils ()

Constructor

Public Methods

public ArrayOfMWSResourceReturnInfo GetResources (ArrayOfMWSResourceRequestInfo arrayResources)

Read contents of one or more files

Parameters
arrayResources file list
Throws
MWSException

public byte[] ReadFromFile (String sFile, boolean limited)

public byte[] ReadFromFile (String sFile)

public static int compareVersion (String versionA, String versionB)

compare the versions

Returns
  • a value greater than 0 if versionA is higher than versionB; 0 if equal; less than 0 if lower.

public byte[][] getImageArray ()

Returns the entire Array of Byte[] Array.

Returns
  • byte[][] representing the Array of Byte[] array

public int getImageArraySize ()

Returns the size of the array of bytes array.

Returns
  • int representing size of array of bytes array