সংগ্রহ আউটপুট রিসিভার
public class CollectingOutputReceiver
extends Object implements IShellOutputReceiver
| java.lang.অবজেক্ট | |
| ↳ | com.android.tradefed.device.CollectingOutputReceiver |
একটি IShellOutputReceiver যা পুরো শেল আউটপুটকে একটি String সংগ্রহ করে।
সারাংশ
পাবলিক কনস্ট্রাক্টর | |
|---|---|
CollectingOutputReceiver () | |
পাবলিক পদ্ধতি | |
|---|---|
void | addOutput (byte[] data, int offset, int length) |
void | cancel ()আউটপুট সংগ্রহ বাতিল করুন |
void | clearBuffer ()বাফারের বিষয়বস্তু সাফ করুন। |
void | flush () |
String | getOutput () |
boolean | isCancelled ()
|
পাবলিক কনস্ট্রাক্টর
সংগ্রহ আউটপুট রিসিভার
public CollectingOutputReceiver ()
পাবলিক পদ্ধতি
যোগ আউটপুট
public void addOutput (byte[] data,
int offset,
int length)| পরামিতি | |
|---|---|
data | byte |
offset | int |
length | int |
বাতিল
public void cancel ()
আউটপুট সংগ্রহ বাতিল করুন
পরিষ্কার বাফার
public void clearBuffer ()
বাফারের বিষয়বস্তু সাফ করুন।
ফ্লাশ
public void flush ()
প্রাপ্ত আউটপুট
public String getOutput ()
| রিটার্নস | |
|---|---|
String | |
বাতিল করা হয়েছে
public boolean isCancelled ()
| রিটার্নস | |
|---|---|
boolean | |