How can I read the bootstrap files and extract the fragment-URLs and fragment-numbers in plain text?
How can I read the bootstrap files of any HDS Live stream and extract the fragment-URLs and fragment-numbers in plain text?
Could it be that it is some kind of compressed format in the bootstrap? Can I uncompress it wirh f4fpackager.exe? Could not find any download for f4fpackager.exe. I would prefere less code to do so. Is there something in Java of JavaScript, that can extract the fragment-numbers?
Thank you!
Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave.
Similar Messages
-
How can one read a Excel File and Upload into Table using Pl/SQL Code.
How can one read a Excel File and Upload into Table using Pl/SQL Code.
1. Excel File is on My PC.
2. And I want to write a Stored Procedure or Package to do that.
3. DataBase is on Other Server. Client-Server Environment.
4. I am Using Toad or PlSql developer tool.If you would like to create a package/procedure in order to solve this problem consider using the UTL_FILE in built package, here are a few steps to get you going:
1. Get your DBA to create directory object in oracle using the following command:
create directory TEST_DIR as ‘directory_path’;
Note: This directory is on the server.
2. Grant read,write on directory directory_object_name to username;
You can find out the directory_object_name value from dba_directories view if you are using the system user account.
3. Logon as the user as mentioned above.
Sample code read plain text file code, you can modify this code to suit your need (i.e. read a csv file)
function getData(p_filename in varchar2,
p_filepath in varchar2
) RETURN VARCHAR2 is
input_file utl_file.file_type;
--declare a buffer to read text data
input_buffer varchar2(4000);
begin
--using the UTL_FILE in built package
input_file := utl_file.fopen(p_filepath, p_filename, 'R');
utl_file.get_line(input_file, input_buffer);
--debug
--dbms_output.put_line(input_buffer);
utl_file.fclose(input_file);
--return data
return input_buffer;
end;
Hope this helps. -
i wrote a assignment of almost 2500 words in the microsoft word 97-2003 doc but by mistake replace a table only in same name . how can i retain my orinal file which was as Basel III and Banking law
Hey Christian
Thanks I havn't seen that post, busy trying it now but no luck so far.
I defined it in the second one (Content Management - Utilities - MIME Types).
Tried it now in NWA, no luck either . . .
What I noticed is no matted what it is defined as in NWA or Content Management, the properties of the mht file still shows Binary File (application/octet-stream)
Any ideas?
Regards
Antonette -
How can I store my music files on an external hard drive and listen to them through iTunes that way? At the moment they're both on the external hard drive and also stored on the computer but I'm quickly running out of memory on my iBook G4 so I'd like to only keep them on the external hard drive and, if possible, delete them from my computer's hard drive. At the moment, when the hard drive isn't plugged in a lot of the files won't play and I get the exclamation mark next to the particular song in iTunes, but everything plays fine when the hard drive is plugged in.
Thank you.Sounds like your files are playing from the external drive already. To check go to iTunes - Preferences - Advanced and check the Media Folder Location. Change it to the external drive if you need to.
-
How can I read from a file line by line?
Hi!
Could someone post some code or explain how can I read from a file, and want I to read a line each time. How can I go to line number N?
Thankshi,
u can try this:
try {
// open text file
BufferedReader in = new BufferedReader(new FileReader(fileName));
String line=in.readLine();
while((line=in.readLine()) != null) {
System.out.println(line);
}The go to line number N i m not so sure.
Cheers
Jerry -
How can I read a Excel file?
How can I read an Excel file and compare if the cells type are numeric or not??
i hope you can can give me a hand..
thanksIf you want to use plsql try utl_file supplied package to read the excel file -> http://psoug.org/reference/utl_file.html
And you can use a function like this to understand if the column is number or not ;
CREATE OR REPLACE FUNCTION is_number (
char_in VARCHAR2)
RETURN BOOLEAN
IS
n NUMBER;
BEGIN
n := TO_NUMBER(char_in);
RETURN TRUE;
EXCEPTION
WHEN OTHERS THEN
RETURN FALSE;
END is_number;
DECLARE
x BOOLEAN;
BEGIN
IF is_number('ABC') THEN
dbms_output.put_line('TRUE');
ELSE
dbms_output.put_line('FALSE');
END IF;
END;
/ -
How can i read local excel file into internal table in webdynpro for abap a
Could someone tell me how How can i read local excel file into an internal table in webdynpro for abap application.
thank u for your replyDeep,
File manuplations...............................
1. At the presentation level:
->GUI_UPLOAD
->GUI_DOWNLOAD
->CL_GUI_FRONTEND
2. At the application server level:
->OPEN DATASET : open a file in the application server for reading or writing.
->READ DATASET : used to read from a file on the application server that has been opened for reading
-> TRANSFER DATASET : writing data to a file.
-> CLOSE DATASET : closes the file
-> DELETE DATASET : delete file
If file is on the local PC,use the function module GUI_UPLOAD to upload it into an internal table by passing the given parameters......
call function 'GUI_UPLOAD'
exporting
filename = p_file
filetype = 'ASC'
has_field_separator = '#'
tables
data_tab = t_data
p_file : excel file path.
t_data : internal table
<b>reward points if useful.</b>
regards,
Vinod Samuel. -
How can i read only .txt file and skip other files in Mail Sender Adapter ?
Hi Friends ,
<b> I am working on scenario like , I have to read an mail attachement and send the data to R3.</b>
It is working fine if only the .txt file comes.
<b>Some times ,html files also coming along with that .txt files. That time my Mail adapter fails to read the .txt file.</b>
I am using PayLoadSwap Bean and MessageTransformBean to swap and send the attachment as payload .
<b>Michal as told to write the Adapter module to skip the files .But i am not ware of the adapter moduel . If any blogs is there for this kind of scenarios please give me the link.</b>
Otherwise , please tell me how to write adapter module for Mail Sender Adapter?
How to download the following
newest patch of XI ADAPTER FRAMEWORK CORE 3.0
from SAP Service Marketplace. Open the file with WinZip and extract the following
SDAs:
aii_af_lib.sda, aii_af_svc.sda
aii_af_cpa_svc.sda
I have searche in servive market place .But i couldn't find that . Can you please provide me the link to download the above .
If any other suggestions other than this please let me know.
Regards.,
V.Rangarajan=P
Dude, netiquette. Messages like "i need this now! Do it!" are really offensive and no one here is being payed to answer anyone's questions. We're here because we like to contribute to the community.
Anyway, in your case, just perform some search on how you could filter the files that are attached to the message. The sample module is just an example, you'll have to implement your own. Tips would be to query the filename of the attachments (or maybe content type) and for the ones which are not text, remove them.
Regards,
Henrique. -
How can you open a project file backup if the main project won't load?
This has only started happening in the last couple of weeks. I'm on Logic 10.0.7, OSX 10.8.5. On one particular project, it will be loading seemingly normally, then it just disappears with no crash log, nothing.
Presumably there is some sort of corruption in the project file.
In the old pre package days, you would just go to the project file backups folder and pick a previous one. Bingo, you have only lost a little bit of work.
Now when I show package contents, the project file backups folder has project data files that won't open logic, and are invisible until you have logic open. Which I can't do.
Rue the day I selected the package option rather than folder.
Any suggestions?
Or to put the question another way, how can I convert the project data in the project file backups folder to a file that Logic can recognise and open?Having his install the trial is the way to go. Working between AI versions is a pain and as you are finding out almost impossible with 5 versions between the collaborators.
-
How can I read my email from my aol account from my iphone and keep it as "unread" on my computer at home? At home I can read an email and if I want to get back to it at a later date I can mark it as "keep as new". I tend to forget it if it goes to "read" mail. Right now, when I read an email from my phone it goes automatically to "read" mail.
On the iPad, using the mail app, there is no way to do what you are asking without tapping the flag icon and marking the item as unread. Have you tried the OWA app for the iPad? It may have that functionality, but I haven't tested it as you need an Office 365 subscription with Exchange support to use the app.
-
How can I read an excel file .xls from an forms 6i
Hi
I have forms6i and webutil don t work with this version, can I read an excel file from forms6i.
Thank uHi hosoriol,
You can refer an excel as an external table first using the steps below and then you can start reading from it.
If you want to update the excel file then create an view and create instead of triggers for it.
Steps
h3. 1.[Create an external table for the excel file |http://www.adp-gmbh.ch/ora/misc/ext_table.html|Click here to view detailed description]
h4. 1. Create a directory in Oracle where you have kept the xls file
create or replace directory ext_dir as '/home/rene/ext_dir';h4. 2. grant read, write on directory ext_dir to scott;
h4. 3. creating the external table
create table ext_table_csv (
i Number,
n Varchar2(20),
m Varchar2(20)
organization external (
type oracle_loader
default directory ext_dir
access parameters (
records delimited by newline
fields terminated by ','
missing field values are null
location ('file.csv')
reject limit unlimited;
Note_
If you want to update the excel file then create a view and then create the instead of triggers to do the update, delete or insert.[Creating views on external tables | http://www.dba-oracle.com/oracle_news/2005_9_1_updating_external_tables.htm]
h3. 2. Use the data block wizard and connect to the corresponding schema and create a database block.
Kindly click Correct or Helpful if it helps Thanks :-) -
How can I read an audio file and brodcast it using NI RFSG?
Hi everybody,
I'm designing a wireless audio signal simulation system that will read an audio signal from a file and modulate the signal using NI 5671 RFSG, then broadcast it to be received at an NI 5660 RFSA.
All I need is some guidance from you guys. Some related examples would be of great help since I'm a new user of NI hardwares and software.
Thanks in advance.
Muslim,
Communication Engineering Student,
International Islamic University Malaysia.Hi,
I’m going to
help here since Paul is out of the office, so far you have been able to use
Paul’s example to generate a signal from a Wav File, right? I have a question:
why did you combine some of the parts of the (fm-modulation) with the generate
FM signal from WAV file if the example Paul attached is already modulating the
signal?
I have another question on the part
that you are stuck when reading the file, do you want to play it back through
your speakers or you just want to be able to see the array of samples? Have you
seen the example “MT niRFSA Demodulate FM.vi”? And if so why it does not help? Here
is another example for FM modulation: Sound File Frequency
Modulated Generation using NI-567x I would like to let you know that all
those examples Paul and I are giving you are located at our website most are
free and you may find them yourself; if you have the necessary drivers and
toolkits installed you should be good to go. “The examples
available do not show what I'm searching for” What are you
searching for? What type of analysis do you need to perform?
Remember
that in the RFSA part of your project what you are going to be receiving will
be an array that contains all the points of your data not a WAV file. I will suggest trying to
run both FM example the RFSG and RFSA with no modification for a better
understanding of what is happening.
I hope it helps
Jaime Hoffiz
National Instruments
Product Expert
Digital Multimeters and LCR Meters -
I would like to read in and write physiological data files which were saved by BioPac�s AcqKnowledge 3.8.1 software, in conjunction with their MP150 acquisition system. To start with, I�d like to write a converter from different physiodata file format into the AcqKnowledge binary file format for version 3.5 � 3.7 (including 3.7.3). It will allow us to read different file format into an analysis package which can only read in file written by AcqKnowledge version 3.5 � 3.7 (including 3.7.3).
I attempted to write a reader following the Application Note AS156 entitled �AcqKnowledge File Format for PC with Windows� (see http://biopac.com/AppNotes/ app156Fi
leFormat/FileFormat.htm ). Note the link for the Mac File format is very instructive too - it is presented in a different style and might make sense to some people with C library like look (http://biopac.com/AppNotes/ app155macffmt/macff.htm).
I guess the problem I had was that I could not manage to read all the different byte data stream with File.vi. This is easy in C but I did not get very far in LabView 7.0. Also, I was a little unsure which LabView data types correspond to int, char , short, long, double, byte, RGB and Rect. And, since it is for PC I am also assuming the data to be written as �little endian� integer, and thus I also used byte swap vi.
Two samples *.acq binary files are attach to this post to the list. Demo.acq is for version 3.7-3.7.2, while SCR_EKGtest1b.acq was recorded and saved with AcqKnowledge 3.8.1, which version number is 41.
I would be grateful if you someone could explain how to handle such binary file stream with LabView and send an example to i
llustrate it.
Many thanks in advance for your help.
Donat-Pierre
Attachments:
Demo.acq 248 KB
SCR_EKG_test1b.acq 97 KBThe reading of double is also straight forward : just use a dble float wired to the type cast node, after inverting the string (indian conversion).
See the attached example.
The measure of skin thickness is based on OCT (optical coherent tomography = interferometry) : an optical fiber system send and received light emitted to/back from the skin at a few centimeter distance. A profile of skin structure is then computed from the optical signal.
CC
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
Read_AK_time_info.vi.zip 9 KB -
I would like to read in and write physiological data which was saved by Biopac�s AcqKnowledge 3.8.1 software, in conjunction with their MP150 acquisition system. To start with, I�d like to write a converter from different physiodata file format into the AcqKnowledge binary file format for version 3.5 � 3.7 (including 3.7.3). It will allow us to read different file format into an analysis package which can only read in file written by AcqKnowledge version 3.5 � 3.7 (including 3.7.3).
I attempted to write a reader following the Application Note AS156 entitled �AcqKnowledge File Format for PC with Windows� (see http://biopac.com/AppNotes/app156FileFormat/FileFormat.h
tm ). Note the link for the Mac File format is very instructive too - it is presented in a different style and might make sense to some people with C library like look (http://biopac.com/AppNotes/app155macffmt/macff.htm) .
I guess the problem I had was that I could not manage to read all the different byte data stream with File.vi. This is easy in C but I did not get very far in LabView 7.0. Also, because it is for PC I am assuming the data to be written as �little endian� integer, and thus I also used byte swap vi.
I would be grateful if you someone could explain how to handle such binary file stream with LabView and send an example to illustrate it.
Many thanks in advance for your help.
Donat-PierreOne more step...
short are U16 integer
double are double precision float
bool seem to be 2 bytes (= U16)
char are string (variable length)
rgb are U16 integer, with high order byte = 0
rect should be 4 x U16 (top, left, bottom, right)
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left... -
using Vista, sometimes after creating and saving an excel file, the document is not visible when the file is reopened.
selecting full screen mode makes the document visible, but the toolbars disappear and the print option does not show up on a right click. How can i print the document and see the document in some other mode than full screen?In order to print, you can click the CTRL+P keys to launch the print dialog,
Regarding the missing toolbar, try clicking the ALT key to shouw the software menu, then look around under the view option for any available toolbar settings,
If you cannot find it, i would recommend you to try the Microsoft support forums, as they have some more knowledge with their software features
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
How can I create a RAWpic-file with header(cluster of 8elements) and 2D Array?
I have created a cluster with 8 "I32"elements (Header). I also got picture information into a 2D array (i converted information from a ROI into a 2Darray("Image pixels(I16)")
Now I want to create a RAW picture file (first the header information followed by the picture information.)
I think I have to convert the Header-cluster into an array with "cluster to array". But even this is not possible(Info:"you cannot combine 2 different clusters"). Then I have to combine the 2 arrays with "insert into array"??? But the header array would be a 1Darray if the "cluster to array conversation" works and the picture information is 2D.
Can anyone help me please?I think this is actually pretty straightforward, barring any byte-order issues. Attached is an image that demonstrates what I think jotthape wants to do.
The key is to let multiple Write File nodes do the work for you. There's no need to combine all the data into a single structure for the write, and avoiding that makes things easier in this case, because you don't have to worry about some of the data being I32 and the rest being I16.
Give this a shot,
John
P.S. It does seem likely that you will run into byte-order problems if you want to read your custom RAW file in using some other piece of Windows software. You can check the forum and the NI site for info on byte order, then ask a new question if you're still having a problem.
Attachments:
writeRaw.png 8 KB
Maybe you are looking for
-
How can I import an old iMovie from '09 to '11?
PLEASE! I've been trying FOREVER to try to get this imovie project that I was working on to import to my new updates iMovie application because my school reimages our computers every year so I saved it to a harddrive but when I tried to open it, it j
-
Bridge CS6 overwrites EXIF data and changes image orientation.
Hi, I seem to be having issue with Bridge CS6 overwriting or corrupting my image EXIF data. The situation is this, while in Bridge CS6, I open a folder with some images in it. There I select one image. Right-click on it and select File Info. In the X
-
C3-00 - problems with adding an "Other" email serv...
I have had a c3-00 for about a month and successfully set up my work email account (under "Other" email services). It worked fine until a few days ago, then whenever I tried to log in it would try for a while before returning to my listing of email
-
Powerpoint Keeps Crashing.... getting this error, help!
Microsoft Error Reporting log version: 2.0 Error Signature: Exception: EXC_BAD_ACCESS Date/Time: 2014-05-01 05:42:48 +0000 Application Name: Microsoft PowerPoint Application Bundle ID: com.microsoft.Powerpoint Application Signature: PPT3 Application
-
If you buy a cloud application while you have a totally legal Creative Suite Premium 6 it might stop working. Adobe made the installation by taking control of my computer. The girl did not seemed totally well trained... my opinion and right after tha