Byte and Character Streams

Hi
I have an insane doubt, wish U can help me
Java has two classes (FileInputStream and FileOutputStream) which allow u to read one single byte from a stream or to write One single byte out to a stream.
A classic example provided by Sun has a loop which reads one byte at a time and writes it out until there is no byte left.
What I dont get is: if char in Java is Sixteen bits (2 bytes) how can such streams read characters if they read one single byte?
Tnx in advnce

import java.io.FileReader;
char[] read(FileInputStream in, int limit) {
  FileReader reader = new FileReader(in);
  char[] array = new char[limit];
  for (int i = 0; i < limit; i++) {
    int value = reader.read();
    if (value == -1) break;
    array[i] = (char)value;
  return array;
}This code is not ideal, but it should give you an idea of how to get an character from an input stream.

Similar Messages

  • How to convert character streams to byte streams?

    Hi,
    I know InputStreamReader can convert byte streams to character streams? But how to convert the character streams back to byte streams? Is there a Java class for that?
    Thanks in advance.

    When do you have to do this? There's probably another way. If you just start out using only InputStreams you shouldn't have that problem.

  • Problem in character stream...sound is distorted

    hi friends,
    I have made a file copy program on audio file(mp3).
    its likely succeeded but the destination file give the distorted sound. I have used the character stream to make it done.
    however, it was not a problem using byte streams before few days.
    below is program
    import java.io.*;
    public class CopyBytes {
        public static void main(String[] args) throws IOException {
            BufferedReader in = null;
            BufferedWriter out = null;
            char []buff=new char[20000];
            int ch=0,length=30;
            try {
                in = new BufferedReader(new FileReader("1.mp3"));
                out = new BufferedWriter(new FileWriter("2.mp3"));      
              for(;ch!=-1;)
                while ((ch=in.read(buff,0,20000))!=-1) {
                      //System.out.format("%s\n\n break\n",new String(buff));
                      out.write(buff,0,20000);
                       break;               
            } finally {
                if (in != null) {
                    in.close();
                if (out != null) {
                    out.close();
    }although there was not use of two loops, actually i was making file splitter program and got this situation accordingly
    any analysis on distorted sound?

    san_4u wrote:
    I have used the character stream to make it done.Why? Clearly, you are not working with text files, so you shouldn't use FileReader/FileWriter at all, but work with streams and bytes. AFAIK, FileReader/FileWriter may perform special operation on the input/output due to character encodings, which you definitely don't want to happen with non-text files (as e.g. MP3 encoded audio files).

  • Mixing byte and char input

    Hi,
    I have a setup where I wish to arbitarily read bytes or chars from the same underlying input stream, under jdk 1.3.x.
    As far as I can see, InputStreamReader will always always over-read from the underlying stream (to the tune of 8k, if it can) and never replace the data it didn't use. This could be removing data that should have been read as binary data, and thus corrupting the stream.
    Given that there's no way, it seems, of detecting the number of bytes per character for a given encoding, the only solution that I can think of is to provide an intermediate buffering stream that drip feeds the reader a conservative number of bytes. This obviously has profound efficiency implications if the reader has to re-fill() itself that often.
    Has anyone else sucessfully dealt with this problem?

    I'm still not
    sure I understand the problem. Is it that the char
    reader will keep reading past the chars removing the
    binary data from what is left to be read and
    preventing it from being read by a 'binary' reader?Yes - InputStreamReader, one of two ways to ensure that byte to char conversion is done properly pre-1.4, will use a fixed buffer size of 8192 bytes to read from the underlying stream.
    It seems that you may need to read in everything as
    binary data and delegate chars off to another Reader
    as you come across them. Of course you will have to
    know when the data should be interpreted as chars and
    when it should not. Only acheivable insofar as the underlying mechanism will be told by clients what to read(i.e. readLine() / readBytes(), or something).
    Some sort of home-rolled throttle between the underlying stream and the reader seems to be the only option, but this will be really clunky.
    There will have to be some sort
    of separator between the types. Am I understanding
    that this will be used with several different
    protocols?Yes, potentially a large number (this will, eventually, be a port of the Indy set of components for Delphi, http://www.nevrona.com/indy, FYI).

  • Input and Output Stream conversion

    I have problem. In my application I should change OutputStream to InputStream and vv. I try to explain it using easy example.
    I am creatin xml document and using XMLOutputter (I am using org.jdom parser) I could write it to file using FileOutputStream, but first I'd like to encrypt this file. For that reason I need InputStream. I write this file on disc, next i read this file, encrypt and write again and at last delete the unencrypted file. Could do It without writeing unencrypted file on disc? Maybe using only streams? Pleas help me, how to do it. Maybe I should convert OutputStream to InputStream.
    When I reading information from encrypted file I have the same problem - streams conversion.

    I wrote an article about how to convert an OutputStream to an InputStream. You can read the article at:
    http://ostermiller.org/convert_java_outputstream_inputstream.html
    It discusses three methods for conversion: byte arrays, piped streams, and circular buffers.

  • Java Input and Output streams

    I have maybe simple question, but I can`t really understand how to figure out this problem.
    I have 2 applications(one on mobile phone J2ME, one on computer J2SE). They commuinicate with Input and Output Streams. Everything is ok, but all communication is in sequence, for example,
    from mobile phone:
    out.writeUTF("GETIMAGE")
    getImage();
    form computer:
    reply = in.readUTF();
    if(reply.equals("GETIMAGE")) sendimage()
    But I need to include one simple thing in my applications - when phone rings there is function in MIDlet - pauseApp() and i need to send some signal to Computer when it happens. But how can i catch this signal in J2SE, because mayble phone rings when computer is sending byte array? and then suddnely it receives command "RINGING"....?
    Please explain how to correcly solve such problem?
    Thanks,
    Ervins

    Eh?
    TCP/IP is not a multiplexed protocol. And why would you need threads or polling to decipher a record-oriented input stream?
    Just send your images in packets with a type byte (1=command, 2=image, &c) and a packet length word. At the receiver:
    int type = dataInputStream.read();
    int length = dataInputStream.readInt();
    byte[] buffer = new byte[length];
    int count, read = 0;
    while ((count = dataInputStream.read(buffer,count,buffer.length)) > 0)
    read += count;
    // At this point we either have:
    // type == -1 || count = -1 => EOF
    // or count > 0, type >= 0, and buffer contains the entire packet.
    switch (type)
    case -1:
    // EOF, not shown
    break;
    case COMMAND: // assuming a manifest constant somewhere
    // process incoming command
    break;
    case IMAGE:
    // process or continue to process incoming image
    break;
    }No threads, no polling, and nuthin' up my sleeve.
    Modulo bugs.

  • JSF and Character Sets (UTF-8)

    Hi all,
    This question might have been asked before, but I'm going to ask it anyway because I'm completely puzzled by how this works in JSF.
    Let's begin with the basics, I have an application running on an OC4J servlet container, and am using JSF 1.1 (MyFaces). The problems I am having with this setup, is that it seems that the character encodings I want the server/client to use are not coming across correctly. I'm trying to enforce the application to be UTF-8, but after the response is rendered to my client, I've magically been reverted to ISO-8859-1, which is the main character set for the netherlands. However, I'm building the application to support proper internationalization; which means I NEED to use UTF-8.
    I've executed the following steps to reach this goal:
    - All JSP files contain page directives, noting the character set:
    <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>I've checked the generated source that comes from the JSP's, it looks as expected.
    - I've created a servlet filter to set the character set directly on the request and response objects:
        public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException {
            // Set the characterencoding for the request and response streams.
            req.setCharacterEncoding("UTF-8");
            res.setContentType("text/html; charset=UTF-8");       
            // Complete (continue) the processing chain.
            chain.doFilter(req, res); 
        }I've debugged the code, and this works fine, except for where JSF comes in. If I use the above situation, without going through JSF, my pages come back UTF-8. When I go through JSF, my pages come back as ISO-8859-1. I'm baffled as to what is causing this. On several forums, writing a filter was proposed as the solution, however this doesn't do it for me.
    It looks like somewhere internally in JSF the character set is changed to ISO. I've been through the sources, and I've found several pieces of code that support that theory. I've seen portions of code where the character set for the response is set to that of the request. Which in my case coming from a dutch system, will be ISO.
    How can this be prevented? Can anyone give some good insight on the inner workings of JSF with regards to character sets in specific? Could this be a servlet container problem?
    Many thanks in advance for your assistance,
    Jarno

    Jarno,
    I've been investigating JSF and character encodings a bit this weekend. And I have to say it's more than a little confusing. But I may have a little insight as to what's going on here.
    I have a post here:
    http://forum.java.sun.com/thread.jspa?threadID=725929&tstart=45
    where I have a number of open questions regarding JSF 1.2's intended handling of character encodings. Please feel free to comment, as you're clearly struggling with some of the same questions I have.
    In MyFaces JSF 1.1 and JSF-RI 1.2 the handling appears to be dependent on the raw Content-Type header. Looking at the MyFaces implementation here -
    http://svn.apache.org/repos/asf/myfaces/legacy/tags/JSF_1_1_started/src/myfaces/org/apache/myfaces/application/jsp/JspViewHandlerImpl.java
    (which I'm not sure is the correct code, but it's the best I've found) it looks like the raw header Content-Type header is being parsed in handleCharacterEncoding. The resulting value (if not null) is used to set the request character encoding.
    The JSF-RI 1.2 code is similar - calculateCharacterEncoding(FacesContext) in ViewHandler appears to parse the raw header, as opposed to using the CharacterEncoding getter on ServletRequest. This is understandable, as this code should be able to handle PortletRequests as well as ServletRequests. And PortletRequests don't have set/getCharacterEncoding methods.
    My first thought is that calling setCharacterEncoding on the request in the filter may not update the raw Content-Type header. (I haven't checked if this is the case) If it doesn't, then the raw header may be getting reparsed and the request encoding getting reset in the ViewHandler. I'd suggest that you check the state of the Content-Type header before and after your call to req.setCharacterEncoding('UTF-8"). If the header charset value is unset or unchanged after this call, you may want to update it manually in your Filter.
    If that doesn't work, I'd suggest writing a simple ViewHandler which prints out the request's character encoding and the value of the Content-Type header to your logs before and after the calls to the underlying ViewHandler for each major method (i.e. renderView, etc.)
    Not sure if that's helpful, but it's my best advice based on the understanding I've reached to date. And I definitely agree - documentation on this point appears to be lacking. Good luck
    Regards,
    Peter

  • DAO pattern Value Objects and Data Streams

    Suppose we have a PersonVO (java bean) with simple attributes i.e. first and last name then the DAO is quite simple and clients of the DAO layer pass VO back and forth (really cleanly).
    But it is a different story if a person has a picture. If the picture is small then we
    could define a field that is simple an array of bytes i.e. byte pic[], and would work ,
    but will not scale if our pic becomes too large or there are lots of persons.
    How can streams be used in this case ? (without dao code leaking into the client layer) and does this break the DAO pattern ?

    I can picture not saving the image bytes themselves
    but a link to a JPG or GIF on the file system.And how would that be guarenteed on a cluster? Or even per OS?
    Putting streams into a database like that can choke
    performance. Can't do WHERE clauses on byte
    streams.For example in PostgreSQL:
    CREATE TABLE images (
      name VARCHAR(32) NOT NULL,
      image bytea NOT NULL,
      imagetype VARCHAR(4),
      CONSTRAINT image_pk PRIMARY KEY (name)
    );After retrieving the image into a byte[] you can either
    - directly serve it to the client (browser) over HTTP through a servlet
    (don't forget to set your content type through HttpServletResponse.setContentType())
    - convert the byte[] to a java.awt.image.BufferedImage using javax.imageio.ImageIO.read(byte[]), and ofcourse do everything you want (including transformations) from there.
    - What ever you can think off.
    Now if you're passing that VO to a JSP, the link to
    the image on the server file system fits nicely into
    the <img> tag and Bob's your uncle.But this will still not be guarenteed to work on a cluster, across platforms, etc.
    10 % 0
    java.lang.ArithmeticException: / by zero;-)

  • Whats the different between regular strems and buffered streams?

    Hum , Hey.
    Whats the different between regular streams(un buffered) and buffered streams?
    When should I use buffered streams and when should I use buffered streams?
    Thanks in advance !

    Gonen wrote:
    CeciNEstPasUnProgrammeur wrote:
    Heck, I often asked myself that, too. If only there were any documentation for those classes one could read...
    The buffer allows the stream to read a whole chunk of data, even though your program requests it one byte at a time. Reading larger chunks from a file e.g. is much faster than trying to read single bytes. Especially considering that usually, a whole cluster is read and you'd discard all but one byte, and then repeat the same...so if the buffered is faster . why there is un buffered streams?Lots of reasons. Maybe you're sure you're going to send or receive all the data in one transaction, so you don't want to waste memory on another buffer. Maybe you're sending data to a device that requires real-time input, like a robotic arm.

  • ObjectInput and Output streams

    Hi all,
    What is objectInput and Out Stream? For what purpose we r using it?
    regards,
    Mahe

    From the Standard Java API
    An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.
    ObjectOutputStream and ObjectInputStream can provide an application with persistent storage for graphs of objects when used with a FileOutputStream and FileInputStream respectively. ObjectInputStream is used to recover those objects previously serialized. Other uses include passing objects between hosts using a socket stream or for marshaling and unmarshaling arguments and parameters in a remote communication system.
    ObjectInputStream ensures that the types of all objects in the graph created from the stream match the classes present in the Java Virtual Machine. Classes are loaded as required using the standard mechanisms.
    Only objects that support the java.io.Serializable or java.io.Externalizable interface can be read from streams.
    The method readObject is used to read an object from the stream. Java's safe casting should be used to get the desired type. In Java, strings and arrays are objects and are treated as objects during serialization. When read they need to be cast to the expected type.
    Primitive data types can be read from the stream using the appropriate method on DataInput.
    The default deserialization mechanism for objects restores the contents of each field to the value and type it had when it was written. Fields declared as transient or static are ignored by the deserialization process. References to other objects cause those objects to be read from the stream as necessary. Graphs of objects are restored correctly using a reference sharing mechanism. New objects are always allocated when deserializing, which prevents existing objects from being overwritten.
    Reading an object is analogous to running the constructors of a new object. Memory is allocated for the object and initialized to zero (NULL). No-arg constructors are invoked for the non-serializable classes and then the fields of the serializable classes are restored from the stream starting with the serializable class closest to java.lang.object and finishing with the object's most specific class.
    For example to read from a stream as written by the example in ObjectOutputStream:
         FileInputStream fis = new FileInputStream("t.tmp");
         ObjectInputStream ois = new ObjectInputStream(fis);
         int i = ois.readInt();
         String today = (String) ois.readObject();
         Date date = (Date) ois.readObject();
         ois.close();
    Classes control how they are serialized by implementing either the java.io.Serializable or java.io.Externalizable interfaces.
    Implementing the Serializable interface allows object serialization to save and restore the entire state of the object and it allows classes to evolve between the time the stream is written and the time it is read. It automatically traverses references between objects, saving and restoring entire graphs.
    Serializable classes that require special handling during the serialization and deserialization process should implement the following methods:
    private void writeObject(java.io.ObjectOutputStream stream)
    throws IOException;
    private void readObject(java.io.ObjectInputStream stream)
    throws IOException, ClassNotFoundException;
    private void readObjectNoData()
    throws ObjectStreamException;
    The readObject method is responsible for reading and restoring the state of the object for its particular class using data written to the stream by the corresponding writeObject method. The method does not need to concern itself with the state belonging to its superclasses or subclasses. State is restored by reading data from the ObjectInputStream for the individual fields and making assignments to the appropriate fields of the object. Reading primitive data types is supported by DataInput.
    Any attempt to read object data which exceeds the boundaries of the custom data written by the corresponding writeObject method will cause an OptionalDataException to be thrown with an eof field value of true. Non-object reads which exceed the end of the allotted data will reflect the end of data in the same way that they would indicate the end of the stream: bytewise reads will return -1 as the byte read or number of bytes read, and primitive reads will throw EOFExceptions. If there is no corresponding writeObject method, then the end of default serialized data marks the end of the allotted data.
    Primitive and object read calls issued from within a readExternal method behave in the same manner--if the stream is already positioned at the end of data written by the corresponding writeExternal method, object reads will throw OptionalDataExceptions with eof set to true, bytewise reads will return -1, and primitive reads will throw EOFExceptions. Note that this behavior does not hold for streams written with the old ObjectStreamConstants.PROTOCOL_VERSION_1 protocol, in which the end of data written by writeExternal methods is not demarcated, and hence cannot be detected.
    The readObjectNoData method is responsible for initializing the state of the object for its particular class in the event that the serialization stream does not list the given class as a superclass of the object being deserialized. This may occur in cases where the receiving party uses a different version of the deserialized instance's class than the sending party, and the receiver's version extends classes that are not extended by the sender's version. This may also occur if the serialization stream has been tampered; hence, readObjectNoData is useful for initializing deserialized objects properly despite a "hostile" or incomplete source stream.
    Serialization does not read or assign values to the fields of any object that does not implement the java.io.Serializable interface. Subclasses of Objects that are not serializable can be serializable. In this case the non-serializable class must have a no-arg constructor to allow its fields to be initialized. In this case it is the responsibility of the subclass to save and restore the state of the non-serializable class. It is frequently the case that the fields of that class are accessible (public, package, or protected) or that there are get and set methods that can be used to restore the state.
    Any exception that occurs while deserializing an object will be caught by the ObjectInputStream and abort the reading process.
    Implementing the Externalizable interface allows the object to assume complete control over the contents and format of the object's serialized form. The methods of the Externalizable interface, writeExternal and readExternal, are called to save and restore the objects state. When implemented by a class they can write and read their own state using all of the methods of ObjectOutput and ObjectInput. It is the responsibility of the objects to handle any versioning that occurs.
    Edited by: pgeuens on Dec 26, 2007 1:50 PM

  • TCP/IP send character stream

    Hi,
    Is there any experience in sending a character stream using TCP/IP from XI to another system?
    Appreciate any suggestions.
    Paul

    Paul,
    Without having experience with this kind of scenario; I can imagine some possible approaches from the context of XI and Java.
    1) Fist Approach
    You could implement a receiver comm. channel of the type file which will receive the data (either text or binary) to be transported via TCP/IP from the Integration Engine. In the configuration of this comm. channel you will trigger a java program/class that will perform the actual TCP/IP connection, obviously the Java program will use the data earlier received by the comm. channel as input parameter.
    2) Second Approach
    You can generate a Java proxy which will act as receiver and effectively do the TCP/IP call.
    As you can see the second approach apparently requires less effort but implies having more system resources (Web As 6.40) to run the necessary J2EE beans needed for Java proxy communication. Nevertheless,  this approach is more elegant and technically/functionally fits in the XI architecture.
    Hopes this mini-brainstorming will help you decide what to do.
    Thanks,
    Roberto

  • Running the report in Bitmap and Character mode

    Hi,
    We have the reports which can run in both the character mode and Bitmap mode. The only problem I'm facing is font size in the character mode report. If the report is run in Character mode then the font size of the report will be greater. As the sizer is bigger, I'm getting the X symbol in the place of report. Can i reduce the size of the font. I'm using the font Tahoma (8 points). Reports 6i Version and Windows Xp is the OS.
    Regards,
    Alok Dubey

    Hi this may solve u'r problem
    In Oracle Reports Designer, bitmap mode, you can make "C"
    bold and in a different font and point size than "c". This
    is because you are generating postscript output.
    Postscript is a universal printer language and any
    postscript printer is able to interpret your different
    design instructions.
    In Oracle Reports Designer, character mode, the
    APPLICATIONS STANDARDS REQUIRE the report to be designed in
    ONE FONT/ ONE CHARACTER SIZE. Character mode reports
    generate ASCII output. In ASCII you cannot dynamically
    change the font and character size. The standard is in
    effect so a report prints as identically as possible from
    both conventional and postscript printers.
    by....
    stanma

  • Rented movie not playing. I have 81Mbps Internet and can stream anything else HD. it's not WiFi either because signal strength is full and I can view anything other than rented movies on apple TV unit. it charges me for renting but doesn't play

    Rented "Gone Girl" on apple tv. It charges me, but will not play for more than 4 seconds at a time. I have exercised every step of apple's troubleshooting and nothing fixes the problem. I have a very strong, steady 81 Mbps Internet connection speed and can stream any other HD through the apple tv except for this rented movie. This is not the first time this has happened either. I just gave apple $6 for free and am currently watching the movie streaming through my cable provider's on demand channel with ease. Oh yeah, and when I seek apple support for the issue, apple wants $2 just to contact someone! Give me my money back please and I will never attempt to use your poor tv service again.

    The limitation of approximately 200 titles has been discussed before, we can't be sure whether it will be something that gets fixed or not. I'm not really sure what your other issues are, if I use search instead of lists, I find whatever I want and am able to rent or purchase subject to those options being available for that particular title.

  • How do i go about linking 2 laptops 3 ipads using the same itunes and to stream all films and music

    how do i go about linking 2 laptops, 3 ipads using the same itunes and to stream all films and music through the house.

    make sure they are all using the same itunes store account and turn on home sharing
    http://support.apple.com/kb/HT3819 - more info about home sharing
    -mvimp

  • Script needed to generate a list of paragraph and character styles from the Book Level

    Hello,
    I am using FrameMaker 11 in the Adobe Technical Communication Suite 4 and I need to find a script that will generate a list
    of paragraph and character styles from the book level.
    I am working with unstructured FrameMaker books, but will soon be looking at getting a conversion table developed
    that will allow me to migrate all my data over to Dita (1.1 for now).
    Any thoughts, ideas on this is very much appreciated.
    Regards,
    Jim

    Hi Jim,
    I think the problem you are having with getting a response is that you are asking someone to write a script for you. Normally, you would have to pay someone for this, as it is something that folks do for a living.
    Nonetheless, I had a few minutes to spare, so I worked up the following script that I believe does the job. It is very slow, clunky, and totally non-elegant, but I think it works. It leverages the book error log mechanism which is built in and accessible by scripts, but is spendidly unattractive. I hope this gives you a starting point. It could be made much more beautiful, of course, but such would take lots more time.
    Russ
    ListAllFormatsInBook()
    function ListAllFormatsInBook()
        var doc, path, fmt;
        var book = app.ActiveBook;
        if(!book.ObjectValid()) book = app.FirstOpenBook;
        if(!book.ObjectValid())
            alert("No book window is active. Cannot continue.");
            return;
        CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
        CallErrorLog(book, 0, 0, "** Book format report for:");
        CallErrorLog(book, 0, 0, book.Name);
        var comp = book.FirstComponentInBook;
        while(comp.ObjectValid())
            path = comp.Name;
            doc = SimpleOpen (path, false);
            if(doc.ObjectValid())
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, doc, 0, "");
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "Paragraph formats:");
                fmt = doc.FirstPgfFmtInDoc;
                while(fmt.ObjectValid())
                    CallErrorLog(book, 0, 0, "  - " + fmt.Name);
                    fmt = fmt.NextPgfFmtInDoc;
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "Character formats:");
                fmt = doc.FirstCharFmtInDoc;
                while(fmt.ObjectValid())
                    CallErrorLog(book, 0, 0, "  - " + fmt.Name);
                    fmt = fmt.NextCharFmtInDoc;
            else
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
                CallErrorLog(book, 0, 0, "!!!  Could not open: " + comp.Name + " !!!");
                CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
            comp = comp.NextComponentInBook;
    function CallErrorLog(book, doc, object, text)
        var arg;
        arg = "log ";
        if(book == null || book == 0 || !book.ObjectValid())
            arg += "-b=0 ";
        else arg += "-b=" + book.id + " ";
        if(doc == null || doc == 0 || !doc.ObjectValid())
            arg += "-d=0 ";
        else arg += "-d=" + doc.id + " ";
        if(object == null || object == 0 || !object.ObjectValid())
            arg += "-O=0 ";
        else arg += "-O=" + object.id + " ";
        arg += "--" + text;
        CallClient("BookErrorLog", arg);

Maybe you are looking for

  • Dead firewire port

    Seems my firewire port suddenly died. I tried plugging in my iSight and it's not detected, and I tried a firewire hard drive as well, and that is not detected. Any steps I should try on my own before contacting Apple for APP repair?

  • Can you programmatically change the width of columns in a table control\indicator

    Is it possible to programmatically change the width of columns in a table control\indicator ie to fit to width of the data or in my case the header information.

  • Webdynpro ABAP in ECC 6.0 version

    Hi to all, I am trying to create one simple webdynpro application but In view layout I don't able to see elements. Can anybody please tell the possible reasons behind it and how to solve this? Regards, Umang

  • BW Hierarchy Authorization

    Hi,    My requirment is to create Roles that restrict authorizations on Profit Center. In SAR (R/3) we are creating Hierarchies manually in Production and development.Although the Profit center hierarchy is same in Development and Production we are c

  • FCP 7 - Maintaining Background Transparency

    I have an image that has a background that needs transparency.  After achieving this transparency and exporting to PNG, GIFF and TIFF, the transparent background appears white on the FCP 7 timeline.  Is there a way to resolve this?