javauis/mmapi_qt/baseline/javasrc/com/nokia/microedition/media/InputStreamSeekControl.java
equal
deleted
inserted
replaced
20 |
20 |
21 package com.nokia.microedition.media; |
21 package com.nokia.microedition.media; |
22 |
22 |
23 import java.io.IOException; |
23 import java.io.IOException; |
24 import java.io.InputStream; |
24 import java.io.InputStream; |
|
25 import com.nokia.mj.impl.utils.Logger; |
25 |
26 |
26 /** |
27 /** |
27 * Class InputStreamSeekControl used to mark and seek the inputstream |
28 * Class InputStreamSeekControl used to mark and seek the inputstream |
28 */ |
29 */ |
29 public class InputStreamSeekControl implements SeekControl |
30 public class InputStreamSeekControl implements SeekControl |
62 * @param aWhere - is ignored as the seeking takes place to |
63 * @param aWhere - is ignored as the seeking takes place to |
63 * the begining always |
64 * the begining always |
64 */ |
65 */ |
65 public void seek(int aWhere) throws IOException |
66 public void seek(int aWhere) throws IOException |
66 { |
67 { |
67 |
68 Logger.LOG(Logger.EJavaMMAPI, Logger.EInfo,"MMA::InputStreamSeekControl - seek +"); |
68 |
69 |
69 if (iInputStream.markSupported() == true) |
70 if (iInputStream.markSupported() == true) |
70 { |
71 { |
71 iInputStream.reset(); |
72 iInputStream.reset(); |
72 } |
73 } |
|
74 Logger.LOG(Logger.EJavaMMAPI, Logger.EInfo,"MMA::InputStreamSeekControl - seek -"); |
73 } |
75 } |
74 |
76 |
75 public void close() |
77 public void close() |
76 { |
78 { |
77 |
79 |