শেলআউটপুটরিসিভারস্ট্রিম

public final class ShellOutputReceiverStream
extends Object

java.lang.অবজেক্ট
com.android.tradefed.util.ShellOutputReceiverStream সম্পর্কে


OutputStream এর ইউটিলিটি সাবক্লাস যা একটি IShellOutputReceiver এ লিখে।

সারাংশ

পাবলিক কনস্ট্রাক্টর

ShellOutputReceiverStream ( IShellOutputReceiver receiver)

প্রদত্ত IShellOutputReceiver এর জন্য একটি নতুন অ্যাডাপ্টার তৈরি করুন।

ShellOutputReceiverStream ( IShellOutputReceiver receiver, FileOutputStream fileOutput)

পাবলিক পদ্ধতি

void close ()
void flush ()
void write (byte[] b)
void write (byte[] b, int off, int len)
void write (int b)

পাবলিক কনস্ট্রাক্টর

শেলআউটপুটরিসিভারস্ট্রিম

public ShellOutputReceiverStream (IShellOutputReceiver receiver)

প্রদত্ত IShellOutputReceiver এর জন্য একটি নতুন অ্যাডাপ্টার তৈরি করুন।

অ্যাডাপ্টার ব্যবহার করে কোড সহজ করার জন্য এখানে একটি নাল রিসিভার প্রদান করা বৈধ, অর্থাৎ যাতে এটি নাল রিসিভারের জন্য পরীক্ষা না করেই ট্রাই-উইথ-রিসোর্স দিয়ে এটি ব্যবহার করতে পারে।

পরামিতি
receiver IShellOutputReceiver

শেলআউটপুটরিসিভারস্ট্রিম

public ShellOutputReceiverStream (IShellOutputReceiver receiver, 
                FileOutputStream fileOutput)

পরামিতি
receiver IShellOutputReceiver

fileOutput FileOutputStream

পাবলিক পদ্ধতি

বন্ধ

public void close ()

ফ্লাশ

public void flush ()

লিখুন

public void write (byte[] b)

পরামিতি
b byte

লিখুন

public void write (byte[] b, 
                int off, 
                int len)

পরামিতি
b byte

off int

len int

লিখুন

public void write (int b)

পরামিতি
b int