public interface

ProgressMeteringPolicy

sun.net.ProgressMeteringPolicy

Class Overview

ProgressMeteringPolicy is an interface for determining progress metering policy.

Summary

Public Methods
abstract int getProgressUpdateThreshold()
Return update notification threshold.
abstract boolean shouldMeterInput(URL url, String method)
Return true if metering should be turned on for a particular network input stream.

Public Methods

public abstract int getProgressUpdateThreshold ()

Return update notification threshold.

public abstract boolean shouldMeterInput (URL url, String method)

Return true if metering should be turned on for a particular network input stream.