ListingContext Class

  • java.lang.Object
    • com.microsoft.azure.storage.core.ListingContext

public class ListingContext

RESERVED FOR INTERNAL USE. A class which holds the current context of a listing

Constructor Summary

Constructor Description
ListingContext(final String prefix, final Integer maxResults)

Initializes a new instance of the ListingContext class.

Method Summary

Modifier and Type Method and Description
final String getMarker()
final Integer getMaxResults()
final String getPrefix()
final void setMarker(final String marker)
final void setMaxResults(final Integer maxResults)
final void setPrefix(final String prefix)

Constructor Details

ListingContext

public ListingContext(final String prefix, final Integer maxResults)

Initializes a new instance of the ListingContext class.

Parameters:

prefix - the listing prefix to use
maxResults - the maximum number of results to retrieve.

Method Details

getMarker

public final String getMarker()

Returns:

the marker

getMaxResults

public final Integer getMaxResults()

Returns:

the maxResults

getPrefix

public final String getPrefix()

Returns:

the prefix

setMarker

public final void setMarker(final String marker)

Parameters:

marker - the marker to set

setMaxResults

protected final void setMaxResults(final Integer maxResults)

Parameters:

maxResults - the maxResults to set, must be at least 1

setPrefix

public final void setPrefix(final String prefix)

Parameters:

prefix - the prefix to set

Applies to