!  ,  ,

Android


 
 
 
sausagerus
226 / 3 / 0
: 12.07.2014
: 51
#1

\r\n - Android

25.02.2016, 00:05. 521. 30
( )

)
json
JSON
1
"Pf\u00E4lzer Weinbrand","Obstbrand","2008er Dornfelder QbA trocken\r\n"

Java
1
String titles = "Pf\u00E4lzer Weinbrand","Obstbrand","2008er Dornfelder QbA trocken\r\n";
\r\n ?
Java
1
titles.replaceAll("\\r\\n"," ")
[\r\n]+ (((
?
0
? .
Similar
41792 / 34177 / 6122
: 12.04.2006
: 57,940
25.02.2016, 00:05
! \r\n ( Android):

Fragment , ? - Android
-. . "". ...

Random, ? - Android
, , 5 ,...

, Android Studio ( )? - Android
? Rendering Problems: Failed to load the LayoutLib: com/android/layoutlib/bridge/Bridge : Unsupported...

, switch if ? - Android
" y=Assets.mobs.pointOfRespMobWolfPosY;" , , , -...

? , - Windows 7
, BackDoor! ??? ,

- - C++
. : , , ...

30
Spelcrawler
527 / 497 / 111
: 12.03.2014
: 1,663
: 1
25.02.2016, 16:47 #16
sausagerus, . .

14
... , :
Java
1
str = str.replaceAll("(\r|\n)", "");
0
sausagerus
226 / 3 / 0
: 12.07.2014
: 51
25.02.2016, 16:59  [] #17
Spelcrawler
sausagerus, . .
14
... , :
Java(TM) 2 Platform Standard Edition 5.0
1
str = str.replaceAll("(\r|\n)", "");
, )
[\r\n] , (\r|\n) (\\r|\\n) ))
0
Spelcrawler
527 / 497 / 111
: 12.03.2014
: 1,663
: 1
25.02.2016, 17:00 #18
sausagerus, .
0
sausagerus
226 / 3 / 0
: 12.07.2014
: 51
25.02.2016, 17:40  [] #19
, ,
Main.java
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
package de.magnum_gmbh.jsonmartl;
 
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.Filterable;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.SimpleAdapter;
import android.widget.TextView;
 
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
 
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
 
 
public class Main extends AppCompatActivity {
 
    // List view
    private ListView lv;
 
    String strJson;
 
    // Listview Adapter
    ArrayAdapter<String> adapter;
 
    // Search EditText
    EditText search_view;
 
    public int ids;
 
    SimpleAdapter sAdapter;
 
    // ArrayList for Listview
    ArrayList<HashMap<String, String>> productList;
    //private String[] Name1Arr1 = {};
 
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
 
 
 
 
        Thread newThread = new Thread(){
            public void run(){
                StringBuilder text = new StringBuilder();
                try {
                    String str = "";
 
                    URL url = new URL("http://clanrif.ucoz.ru/txt1.txt");
 
                    BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
                    while ((str = in.readLine()) != null) {
                        text.append(str);
                    }
 
                    strJson = text.toString(); //.replace(""", "\\"")
                    in.close();
 
                } catch (MalformedURLException e1)
                {
                } catch (IOException e)
                {
                }
 
 
                final String ATT_NUM =  "nummers", ATT_FOL = "folgenummers", ATT_WEI = "weinnummers", ATT_APN = "apnummers", ATT_VER = "verkaufsbezeichnungs", ATT_JAH = "jahrgangs", ATT_BES = "bestands", ATT_RES = "reservierts", ATT_FRE = "freis", ATT_REB = "rebsortes", ATT_QUA = "qualiaets", ATT_LAG = "lages";
                String Nummer = "", Folgenummer = "", Weinnummer = "", APNummer = "", Verkaufsbezeichnung ="", Jahrgang = "", Bestand = "", Reserviert = "", Frei = "", Rebsorte = "", Qualiaet = "", Lage = "";
                String nummer, folgenummer, weinnummer, apnummer, verkaufsbezeichnung, jahrgang, bestand, reserviert, frei, rebsorte, qualiaet, lage;
                final String NummerArr[], FolgenummerArr[], WeinnummerArr[], APNummerArr[], VerkaufsbezeichnungArr[], JahrgangArr[], BestandArr[], ReserviertArr[], FreiArr[], RebsorteArr[], QualiaetArr[], LageArr[];
                try {
                    JSONObject jsonRootObject = new JSONObject(strJson);
 
                    //Get the instance of JSONArray that contains JSONObjects
                    JSONArray jsonArray = jsonRootObject.optJSONArray("result");
 
                    //Iterate the jsonArray and print the info of JSONObjects
                    for(int i=0; i < jsonArray.length(); i++){
                        JSONObject jsonObject = jsonArray.getJSONObject(i);
 
 
                        nummer = jsonObject.optString("Nummer").toString();
                        folgenummer = jsonObject.optString("Folgenummer").toString();
                        weinnummer = jsonObject.optString("Weinnummer").toString();
                        apnummer = jsonObject.optString("APNummer").toString();
                        verkaufsbezeichnung = jsonObject.optString("Verkaufsbezeichnung").toString();
                        jahrgang = jsonObject.optString("Jahrgang").toString();
                        bestand = jsonObject.optString("Bestand").toString();
                        reserviert = jsonObject.optString("Reserviert").toString();
                        frei = jsonObject.optString("Frei").toString();
                        rebsorte = jsonObject.optString("Rebsorte").toString();
                        qualiaet = jsonObject.optString("Qualiaet").toString();
                        lage = jsonObject.optString("Lage").toString();
 
 
                        Nummer += nummer.substring(1, nummer.length() - 1);
                        Folgenummer += folgenummer.substring(1, folgenummer.length() - 1);
                        Weinnummer += weinnummer.substring(1, weinnummer.length() - 1);
                        APNummer += apnummer.substring(1, apnummer.length() - 1);
                        Verkaufsbezeichnung += verkaufsbezeichnung.substring(2, verkaufsbezeichnung.length() - 2);
                        Jahrgang += jahrgang.substring(1, jahrgang.length() - 1);
                        Bestand += bestand.substring(1,bestand.length()-1);
                        Reserviert += reserviert.substring(1,reserviert.length()-1);
                        Frei += frei.substring(1,frei.length()-1);
                        Rebsorte += rebsorte.substring(1,rebsorte.length()-1);
                        Qualiaet += qualiaet.substring(1,qualiaet.length()-1);
                        Lage += lage.substring(1,lage.length()-1);
 
                        //Verkaufsbezeichnung += verkaufsbezeichnung.replaceAll("\\r\\n"," ").substring(2, verkaufsbezeichnung.length() - 2);
                        //System.out.println(Verkaufsbezeichnung);
 
 
                    }
 
 
                    //    List<String> unsLst = new LinkedList<String>();
                    //    unsLst.add(Name1);
                    //    Collections.sort(unsLst);
 
 
                    NummerArr = Nummer.replace(""","").split(",");
                    FolgenummerArr = Folgenummer.split(",");
                    WeinnummerArr = Weinnummer.split(",");
                    APNummerArr = APNummer.split(",");
                    VerkaufsbezeichnungArr = Verkaufsbezeichnung.split("","");
                    JahrgangArr = Jahrgang.split(",");
                    BestandArr = Bestand.split(",");
                    ReserviertArr = Reserviert.split(",");
                    FreiArr = Frei.split(",");
                    RebsorteArr = Rebsorte.split(",");
                    QualiaetArr = Qualiaet.split(",");
                    LageArr = Lage.split(",");
 
 
 
 
                    runOnUiThread(new Runnable() {
                        @Override
                        public void run() {
                            //txtName2.setText(Name);
 
 
 
 
 
 
                            // Listview Data
                            ///
 
                            ArrayList<Map<String, Object>> data = new ArrayList<Map<String, Object>>(NummerArr.length);
                            Map<String, Object> m;
                            for(int i = 0; i<NummerArr.length; i++){
                                m = new HashMap<String, Object>();
                                m.put(ATT_NUM, NummerArr[i]);
                                m.put(ATT_FOL, FolgenummerArr[i]);
                               // m.put(ATT_WEI, WeinnummerArr[i]);
                               // m.put(ATT_APN, APNummerArr[i]);
                                m.put(ATT_VER, VerkaufsbezeichnungArr[i]);
                               // m.put(ATT_JAH, JahrgangArr[i]);
                                m.put(ATT_BES, BestandArr[i]);
                                m.put(ATT_RES, ReserviertArr[i]);
                                m.put(ATT_FRE, FreiArr[i]);
                               // m.put(ATT_REB, RebsorteArr[i]);
                               // m.put(ATT_QUA, QualiaetArr[i]);
                               // m.put(ATT_LAG, LageArr[i]);
                                data.add(m);
                            }
 
                            String[] from = {ATT_NUM,ATT_FOL,ATT_VER,ATT_BES,ATT_RES,ATT_FRE};
                            int[] to = {R.id.Nummer,R.id.Folgenummer,R.id.Verkaufsbezeichnung,R.id.Bestand,R.id.Reserviert,R.id.Frei};
 
                            lv = (ListView) findViewById(R.id.list_view_art);
                            search_view = (EditText) findViewById(R.id.search_view_art);
 
                            //adapter = new ArrayAdapter<String>(Main.this, R.layout.list_item_art_lst, R.id.search_name_art, VerkaufsbezeichnungArr);
                            sAdapter = new SimpleAdapter(Main.this, data, R.layout.list_item_art_lst, from, to);
                            lv.setAdapter(sAdapter);
 
 
 
 
                            //search_view.setSingleLine();
 
 
                            //Sort array
                            //Arrays.sort(Name1Arr);
 
                            // Adding items to listview
 
                            //adapter = new ArrayAdapter<String>(Main.this, R.layout.list_item_art_lst, R.id.search_name_art, VerkaufsbezeichnungArr);
                            //lv.setAdapter(adapter);
 
                            search_view.addTextChangedListener(new TextWatcher() {
 
                                @Override
                                public void onTextChanged(CharSequence cs, int arg1, int arg2, int arg3) {
                                    // When user changed the Text
                                    //adapter = new ArrayAdapter<String>(Main.this, R.layout.list_item_art_lst, R.id.search_name_art, VerkaufsbezeichnungArr);
                                    Main.this.sAdapter.getFilter().filter(cs);
                                    //lv.setAdapter(adapter);
                                }
 
                                @Override
                                public void beforeTextChanged(CharSequence arg0, int arg1, int arg2,
                                                              int arg3) {
                                    // TODO Auto-generated method stub
 
                                }
 
                                @Override
                                public void afterTextChanged(Editable arg0) {
                                    // TODO Auto-generated method stub
                                }
                            });
 
 
 
                            lv.setOnItemClickListener(new AdapterView.OnItemClickListener() {
                                @Override
                                public void onItemClick(AdapterView<?> parent, View itemClicked, int position,
                                                        long id) {
 
 
                                    String positions = parent.getAdapter().getItem(position).toString();
                                    //int positions = parent.getAdapter().;
                                    parent.getAdapter();
                                    int index = -1; // if doesnt exist
                                    for (int i = 0; i < VerkaufsbezeichnungArr.length; i++) {
                                        if (positions.contains(NummerArr[i])) {
                                            index = i;
                                            break;
                                        }
                                    }
                                    /*********************************UNCOMMJIT THIS **************/
                                    //Intent testJumpIntent = new Intent(Main.this, TestJump.class);
                                    //testJumpIntent.putExtra("index", index);
 
                                    //startActivity(testJumpIntent);
 
                                    /*************SET IT TO ANOTHER CLASS **********(TestJump.class)
                                     int ii = getIntent().getExtras().getInt("index");
                                     System.out.println(ii);
 
 
                                     TextView textView = (TextView)findViewById(R.id.textView);
                                     textView.setText(""+ii);
                                     ***********************************************************/
 
                                }
                            });
 
 
 
 
 
                        }
                    });
 
 
 
 
 
 
 
                } catch (JSONException e) {
                    e.printStackTrace();
                }
 
            }
        };
 
 
 
        newThread.start();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
    }
 
}
0
sausagerus
226 / 3 / 0
: 12.07.2014
: 51
25.02.2016, 17:41  [] #20
,
activity_main.xml
XML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context="de.magnum_gmbh.jsonmartl.Main"
    android:orientation="vertical"
    android:focusableInTouchMode="true"
    android:id="@+id/linLayout">
 
    <EditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="Suchen"
        android:inputType="textVisiblePassword"
        android:id="@+id/search_view_art"/>
 
    <ListView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/list_view_art">
 
    </ListView>
</LinearLayout>
list_item_art_lst.xml
XML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="horizontal" android:layout_width="match_parent"
    android:layout_height="match_parent">
 
    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:id="@+id/search_name_art"
        android:textSize="16dp"
        android:layout_alignParentTop="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true" />
 
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/Verkaufsbezeichnung"
        android:text="Verkaufsbezeichnung"
        android:textSize="16dp"
        android:layout_alignTop="@+id/Bestand"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true" />
 
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/Bestand"
        android:text="Bestand"
        android:layout_above="@+id/Reserviert"
        android:layout_alignParentRight="true"
        android:layout_alignParentEnd="true" />
 
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/Nummer"
        android:text="Nummer"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_below="@+id/search_name_art" />
 
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/Folgenummer"
        android:text="Folgenummer"
        android:layout_below="@+id/Nummer"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true" />
 
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/Reserviert"
        android:text="Reserviert"
        android:layout_above="@+id/Frei"
        android:layout_alignRight="@+id/Frei"
        android:layout_alignEnd="@+id/Frei" />
 
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:id="@+id/Frei"
        android:text="Frei"
        android:layout_alignTop="@+id/Folgenummer"
        android:layout_alignRight="@+id/Bestand"
        android:layout_alignEnd="@+id/Bestand" />
 
 
 
</RelativeLayout>
0
Spelcrawler
527 / 497 / 111
: 12.03.2014
: 1,663
: 1
25.02.2016, 17:45 #21

Java
1
jsonObject.optString("Nummer").toString();

Java
1
jsonObject.getString("Nummer");
1
, ?
0
sausagerus
226 / 3 / 0
: 12.07.2014
: 51
25.02.2016, 18:00  [] #22
2
Spelcrawler

Java(TM) 2 Platform Standard Edition 5.0
1
jsonObject.optString("Nummer").toString();

Java(TM) 2 Platform Standard Edition 5.0
1
jsonObject.getString("Nummer");
1
, ?
, ...
)
0
Spelcrawler
527 / 497 / 111
: 12.03.2014
: 1,663
: 1
25.02.2016, 18:00 #23
sausagerus, , : , , . .
0
sausagerus
226 / 3 / 0
: 12.07.2014
: 51
25.02.2016, 18:05  [] #24
Spelcrawler
sausagerus, , : , , . .
)
Java
1
2
3
4
5
6
7
 System.out.println(Verkaufsbezeichnung);
                        Verkaufsbezeichnung += verkaufsbezeichnung.replaceAll("\\r\\n"," ").substring(2, verkaufsbezeichnung.length() - 2);
                        System.out.println(Verkaufsbezeichnung);
 
 
02-25 16:03:13.343 28458-28510/de.magnum_gmbh.jsonmartl I/System.out: 2003er Grauer Burgunder Auslese","2003er Dornfelder QbA Rotwein trocken","2004er Scheurebe Eiswein süß","Williams Christ Brand","2005er Portugieser Spätlese trocken","2005er Silvaner QbA "de liebliche"","2005er Kerner Auslese","2006er Dornfelder Rotwein QbA halbtrocken","2006er Dunkelfelder Rotwein QbA trocken","2006er Regent Rotwein QbA trocken","2006er Dornfelder Rotwein QbA im Barrique gereift","2006er Dornfelder QbA im Barrique gereift","2006er Spätburgunder Blanc de Noir QbA","2006er Weißburgunder Classic","2006er Gewürztraminer Kabinett","2006er Spätburgunder Sekt trocken","2007er Dunkelfelder Rotwein QbA trocken","2007er Spätburgunder Rotwein QbA trocken","2007er Dunkelfelder QbA im Barrique gereift","2007er "de liebliche" Rotwein QbA","2007er Kerner QbA","2007er Riesling QbA trocken","2007er Grauer Burgunder QbA\r\n","2007er Silvaner QbA trocken","2007er Portugieser Weißherst QbA mild","2007er Spätburgunder Blanc de Noir QbA trocken","2007er Chardonnay Kabinett","2007er Ortega Spätlese","2007er Riesling Spätlese","2007er Gewürztraminer Spätlese","2007er Spätburgunder Sekt trocken","2007er Riesling Sekt trocken","2007er Riesling Sekt brut","Apfelsaft","Traubenlikör\r\nWeiß oder rot","Pfirsichlikör","Winzertraum","Saumagen Kräuterlikör","Pfälzer Weinbrand","Obstbrand","2008er Dornfelder QbA trocken\r\n","2008er Dornfelder QbA halbtrocken","2008er Spätburgunder Rotwein QbA","2008er Saint Laurent Rotwein QbA halbtrocken","2008er Saint Laurent Rotwein QbA halbtrocken","2008er Saint Laurent Rotwein QbA halbtrocken","2008er "de liebliche" Rotwein QbA","2008er Müller Thurgau trocken QbA","2008er Müller Thurgau QbA halbtrocken","2008er Kerner QbA","2008er Riesling QbA trocken","Riesling qba\r\n","Riesling qba","Silvaner\r\n","Silvaner qba","Riesling \r\n","2008er Grauer Burgunder QbA","2008er Weißburgunder Classic","2008er Silvaner QbA trocken","2008er "de liebliche"Weißburgunder QbA","2008er Portugieser Weißherbst QbA","2008er Dornfelder Rosee QbA\r\n","2008er Chardonnay Spätlese","2008er Spätburgunder Sekt trocken","2008er Riesling Sekt trocken","2008er Riesling Sekt brut BIO","2008er Junker Secco ÖKO","Pfälzer Traubensaft","2008er Dunkelfelder Barrique QbA trocken","2008er Junker Secco","Minerlalwasser\r\n","2009er Müller Thurgau QbA trocken","2012 Müller Thurgau QbA trocken","2009er Müller Thurgau QbA halbtrocken","2009er Kerner QbA mild","2009er Riesling QbA trocken","2009er Grauer Burgunder QbA halbtrocken","2009er Weißburgunder Classic","2009er Chardonnay Kabinett halbtr.","2009er Scheurebe Kabinett trocken","2009er Riesling Spätlese trocken","2009er Kerner Spätlese","2009er Gewürztraminer Spätlese","2009er Spätburgunder Weißherbst Eiswein","2009er Portugieser Weißherbst QbA mild","2009er Spätburgunder Blanc de Noir trocken","2009er Dornfelder Rosee QbA","2009er Dornfelder QbA trocken","2009er Dornfelder QbA halbtrocken","2009er Dunkelfelder QbA Rotwein trocken","2009er Saint Laurent QbA halbtrocken","Riesling qba","Riesling qba","Silvaner\r\n","Silvaner\r\n","20011 Riesling","Magnum2014","","","","Rieslng QbA\r\n","Silvaner qba","Silvaner qba","Riesling qba\r\n","Riesling qba\r\n","Riesling","20011 Riesling","Pfälzer Taubensaft","Junkers Weingelee","ThanhdatWein2014","Thanhdat","Testrotwein","2012 St. Laurent trocken\r\n QbA","1999er Ehrenfelser Eiswein","Falschen 0,75\r\n","Frachtkosten","1er Geschenkkarton","2er Geschenkkarton","3er Geschenkkarton","Pfälzer Schoppegläser","2012 Müller-Thurgau trocken\r\n","Rabatt","Riesling, Weiser - FB1\r\nSO4 - BB 5","Trauben Rot \r\n","Übernachtung","Versandkarton 6er","Versandkarton 12er","Versandkarton 18er","","Menü pro Person","Kaffeegedeck pro Person","Fingerfood und Canapes"," Dornfelder trocken","Diverse Küche","Gebratene Blutwurst","Leberwurst mit Sherryessig","Käsewürfel\r\n","Limburger mit Feigensenf","Pfälzer Drillinge mit pikanter Soße","Speckpflaumen","Luftgetrockneter Schinken mit Parmesan","Antipasti","Lachsmousse","Dornfelder halbtrocken","Kleine Variation Platte 6 S
02-25 16:03:13.343 28458-28510/de.magnum_gmbh.jsonmartl I/System.out: 2003er Grauer Burgunder Auslese","2003er Dornfelder QbA Rotwein trocken","2004er Scheurebe Eiswein süß","Williams Christ Brand","2005er Portugieser Spätlese trocken","2005er Silvaner QbA "de liebliche"","2005er Kerner Auslese","2006er Dornfelder Rotwein QbA halbtrocken","2006er Dunkelfelder Rotwein QbA trocken","2006er Regent Rotwein QbA trocken","2006er Dornfelder Rotwein QbA im Barrique gereift","2006er Dornfelder QbA im Barrique gereift","2006er Spätburgunder Blanc de Noir QbA","2006er Weißburgunder Classic","2006er Gewürztraminer Kabinett","2006er Spätburgunder Sekt trocken","2007er Dunkelfelder Rotwein QbA trocken","2007er Spätburgunder Rotwein QbA trocken","2007er Dunkelfelder QbA im Barrique gereift","2007er "de liebliche" Rotwein QbA","2007er Kerner QbA","2007er Riesling QbA trocken","2007er Grauer Burgunder QbA\r\n","2007er Silvaner QbA trocken","2007er Portugieser Weißherst QbA mild","2007er Spätburgunder Blanc de Noir QbA trocken","2007er Chardonnay Kabinett","2007er Ortega Spätlese","2007er Riesling Spätlese","2007er Gewürztraminer Spätlese","2007er Spätburgunder Sekt trocken","2007er Riesling Sekt trocken","2007er Riesling Sekt brut","Apfelsaft","Traubenlikör\r\nWeiß oder rot","Pfirsichlikör","Winzertraum","Saumagen Kräuterlikör","Pfälzer Weinbrand","Obstbrand","2008er Dornfelder QbA trocken\r\n","2008er Dornfelder QbA halbtrocken","2008er Spätburgunder Rotwein QbA","2008er Saint Laurent Rotwein QbA halbtrocken","2008er Saint Laurent Rotwein QbA halbtrocken","2008er Saint Laurent Rotwein QbA halbtrocken","2008er "de liebliche" Rotwein QbA","2008er Müller Thurgau trocken QbA","2008er Müller Thurgau QbA halbtrocken","2008er Kerner QbA","2008er Riesling QbA trocken","Riesling qba\r\n","Riesling qba","Silvaner\r\n","Silvaner qba","Riesling \r\n","2008er Grauer Burgunder QbA","2008er Weißburgunder Classic","2008er Silvaner QbA trocken","2008er "de liebliche"Weißburgunder QbA","2008er Portugieser Weißherbst QbA","2008er Dornfelder Rosee QbA\r\n","2008er Chardonnay Spätlese","2008er Spätburgunder Sekt trocken","2008er Riesling Sekt trocken","2008er Riesling Sekt brut BIO","2008er Junker Secco ÖKO","Pfälzer Traubensaft","2008er Dunkelfelder Barrique QbA trocken","2008er Junker Secco","Minerlalwasser\r\n","2009er Müller Thurgau QbA trocken","2012 Müller Thurgau QbA trocken","2009er Müller Thurgau QbA halbtrocken","2009er Kerner QbA mild","2009er Riesling QbA trocken","2009er Grauer Burgunder QbA halbtrocken","2009er Weißburgunder Classic","2009er Chardonnay Kabinett halbtr.","2009er Scheurebe Kabinett trocken","2009er Riesling Spätlese trocken","2009er Kerner Spätlese","2009er Gewürztraminer Spätlese","2009er Spätburgunder Weißherbst Eiswein","2009er Portugieser Weißherbst QbA mild","2009er Spätburgunder Blanc de Noir trocken","2009er Dornfelder Rosee QbA","2009er Dornfelder QbA trocken","2009er Dornfelder QbA halbtrocken","2009er Dunkelfelder QbA Rotwein trocken","2009er Saint Laurent QbA halbtrocken","Riesling qba","Riesling qba","Silvaner\r\n","Silvaner\r\n","20011 Riesling","Magnum2014","","","","Rieslng QbA\r\n","Silvaner qba","Silvaner qba","Riesling qba\r\n","Riesling qba\r\n","Riesling","20011 Riesling","Pfälzer Taubensaft","Junkers Weingelee","ThanhdatWein2014","Thanhdat","Testrotwein","2012 St. Laurent trocken\r\n QbA","1999er Ehrenfelser Eiswein","Falschen 0,75\r\n","Frachtkosten","1er Geschenkkarton","2er Geschenkkarton","3er Geschenkkarton","Pfälzer Schoppegläser","2012 Müller-Thurgau trocken\r\n","Rabatt","Riesling, Weiser - FB1\r\nSO4 - BB 5","Trauben Rot \r\n","Übernachtung","Versandkarton 6er","Versandkarton 12er","Versandkarton 18er","","Menü pro Person","Kaffeegedeck pro Person","Fingerfood und Canapes"," Dornfelder trocken","Diverse Küche","Gebratene Blutwurst","Leberwurst mit Sherryessig","Käsewürfel\r\n","Limburger mit Feigensenf","Pfälzer Drillinge mit pikanter Soße","Speckpflaumen","Luftgetrockneter Schinken mit Parmesan","Antipasti","Lachsmousse","Dornfelder halbtrocken","Kleine Variation Platte 6 S
0
Pablito
2534 / 2013 / 627
: 12.05.2014
: 7,068
: 1
25.02.2016, 18:08 #25
, ( )



, - ,
0
sausagerus
226 / 3 / 0
: 12.07.2014
: 51
25.02.2016, 18:34  [] #26
...
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
String Verkaufsbeyeichnung = "", verkaufsbeyeichnung;
/******/
verkaufsbeyeichnung = jsonObject.getString("Verkaufsbezeichnung"); //  json  
/******/
Verkaufsbezeichnung += verkaufsbezeichnung.substring(2, verkaufsbezeichnung.length() - 2); //       
/******/
 
System.out.println(Verkaufsbezeichnung); //     ...
Verkaufsbezeichnung = verkaufsbezeichnung.replaceAll("\\r\\n"," ").substring(2, verkaufsbezeichnung.length() - 2);
System.out.println(Verkaufsbezeichnung); //     ,     
 
 
02-25 16:03:13.343 28458-28510/de.magnum_gmbh.jsonmartl I/System.out: 2003er Grauer Burgunder Auslese","2003er Dornfelder QbA Rotwein trocken","2004er Scheurebe Eiswein süß","Williams Christ Brand","2005er Portugieser Spätlese trocken","2005er Silvaner QbA "de liebliche"","2005er Kerner Auslese","2006er Dornfelder Rotwein QbA halbtrocken","2006er Dunkelfelder Rotwein QbA trocken","2006er Regent Rotwein QbA trocken","2006er Dornfelder Rotwein QbA im Barrique gereift","2006er Dornfelder QbA im Barrique gereift","2006er Spätburgunder Blanc de Noir QbA","2006er Weißburgunder Classic","2006er Gewürztraminer Kabinett","2006er Spätburgunder Sekt trocken","2007er Dunkelfelder Rotwein QbA trocken","2007er Spätburgunder Rotwein QbA trocken","2007er Dunkelfelder QbA im Barrique gereift","2007er "de liebliche" Rotwein QbA","2007er Kerner QbA","2007er Riesling QbA trocken","2007er Grauer Burgunder QbA\r\n","2007er Silvaner QbA trocken","2007er Portugieser Weißherst QbA mild","2007er Spätburgunder Blanc de Noir QbA trocken","2007er Chardonnay Kabinett","2007er Ortega Spätlese","2007er Riesling Spätlese","2007er Gewürztraminer Spätlese","2007er Spätburgunder Sekt trocken","2007er Riesling Sekt trocken","2007er Riesling Sekt brut","Apfelsaft","Traubenlikör\r\nWeiß oder rot","Pfirsichlikör","Winzertraum","Saumagen Kräuterlikör","Pfälzer Weinbrand","Obstbrand","2008er Dornfelder QbA trocken\r\n","2008er Dornfelder QbA halbtrocken","2008er Spätburgunder Rotwein QbA","2008er Saint Laurent Rotwein QbA halbtrocken","2008er Saint Laurent Rotwein QbA halbtrocken","2008er Saint Laurent Rotwein QbA halbtrocken","2008er "de liebliche" Rotwein QbA","2008er Müller Thurgau trocken QbA","2008er Müller Thurgau QbA halbtrocken","2008er Kerner QbA","2008er Riesling QbA trocken","Riesling qba\r\n","Riesling qba","Silvaner\r\n","Silvaner qba","Riesling \r\n","2008er Grauer Burgunder QbA","2008er Weißburgunder Classic","2008er Silvaner QbA trocken","2008er "de liebliche"Weißburgunder QbA","2008er Portugieser Weißherbst QbA","2008er Dornfelder Rosee QbA\r\n","2008er Chardonnay Spätlese","2008er Spätburgunder Sekt trocken","2008er Riesling Sekt trocken","2008er Riesling Sekt brut BIO","2008er Junker Secco ÖKO","Pfälzer Traubensaft","2008er Dunkelfelder Barrique QbA trocken","2008er Junker Secco","Minerlalwasser\r\n","2009er Müller Thurgau QbA trocken","2012 Müller Thurgau QbA trocken","2009er Müller Thurgau QbA halbtrocken","2009er Kerner QbA mild","2009er Riesling QbA trocken","2009er Grauer Burgunder QbA halbtrocken","2009er Weißburgunder Classic","2009er Chardonnay Kabinett halbtr.","2009er Scheurebe Kabinett trocken","2009er Riesling Spätlese trocken","2009er Kerner Spätlese","2009er Gewürztraminer Spätlese","2009er Spätburgunder Weißherbst Eiswein","2009er Portugieser Weißherbst QbA mild","2009er Spätburgunder Blanc de Noir trocken","2009er Dornfelder Rosee QbA","2009er Dornfelder QbA trocken","2009er Dornfelder QbA halbtrocken","2009er Dunkelfelder QbA Rotwein trocken","2009er Saint Laurent QbA halbtrocken","Riesling qba","Riesling qba","Silvaner\r\n","Silvaner\r\n","20011 Riesling","Magnum2014","","","","Rieslng QbA\r\n","Silvaner qba","Silvaner qba","Riesling qba\r\n","Riesling qba\r\n","Riesling","20011 Riesling","Pfälzer Taubensaft","Junkers Weingelee","ThanhdatWein2014","Thanhdat","Testrotwein","2012 St. Laurent trocken\r\n QbA","1999er Ehrenfelser Eiswein","Falschen 0,75\r\n","Frachtkosten","1er Geschenkkarton","2er Geschenkkarton","3er Geschenkkarton","Pfälzer Schoppegläser","2012 Müller-Thurgau trocken\r\n","Rabatt","Riesling, Weiser - FB1\r\nSO4 - BB 5","Trauben Rot \r\n","Übernachtung","Versandkarton 6er","Versandkarton 12er","Versandkarton 18er","","Menü pro Person","Kaffeegedeck pro Person","Fingerfood und Canapes"," Dornfelder trocken","Diverse Küche","Gebratene Blutwurst","Leberwurst mit Sherryessig","Käsewürfel\r\n","Limburger mit Feigensenf","Pfälzer Drillinge mit pikanter Soße","Speckpflaumen","Luftgetrockneter Schinken mit Parmesan","Antipasti","Lachsmousse","Dornfelder halbtrocken","Kleine Variation Platte 6 S
02-25 16:03:13.343 28458-28510/de.magnum_gmbh.jsonmartl I/System.out: 2003er Grauer Burgunder Auslese","2003er Dornfelder QbA Rotwein trocken","2004er Scheurebe Eiswein süß","Williams Christ Brand","2005er Portugieser Spätlese trocken","2005er Silvaner QbA "de liebliche"","2005er Kerner Auslese","2006er Dornfelder Rotwein QbA halbtrocken","2006er Dunkelfelder Rotwein QbA trocken","2006er Regent Rotwein QbA trocken","2006er Dornfelder Rotwein QbA im Barrique gereift","2006er Dornfelder QbA im Barrique gereift","2006er Spätburgunder Blanc de Noir QbA","2006er Weißburgunder Classic","2006er Gewürztraminer Kabinett","2006er Spätburgunder Sekt trocken","2007er Dunkelfelder Rotwein QbA trocken","2007er Spätburgunder Rotwein QbA trocken","2007er Dunkelfelder QbA im Barrique gereift","2007er "de liebliche" Rotwein QbA","2007er Kerner QbA","2007er Riesling QbA trocken","2007er Grauer Burgunder QbA\r\n","2007er Silvaner QbA trocken","2007er Portugieser Weißherst QbA mild","2007er Spätburgunder Blanc de Noir QbA trocken","2007er Chardonnay Kabinett","2007er Ortega Spätlese","2007er Riesling Spätlese","2007er Gewürztraminer Spätlese","2007er Spätburgunder Sekt trocken","2007er Riesling Sekt trocken","2007er Riesling Sekt brut","Apfelsaft","Traubenlikör\r\nWeiß oder rot","Pfirsichlikör","Winzertraum","Saumagen Kräuterlikör","Pfälzer Weinbrand","Obstbrand","2008er Dornfelder QbA trocken\r\n","2008er Dornfelder QbA halbtrocken","2008er Spätburgunder Rotwein QbA","2008er Saint Laurent Rotwein QbA halbtrocken","2008er Saint Laurent Rotwein QbA halbtrocken","2008er Saint Laurent Rotwein QbA halbtrocken","2008er "de liebliche" Rotwein QbA","2008er Müller Thurgau trocken QbA","2008er Müller Thurgau QbA halbtrocken","2008er Kerner QbA","2008er Riesling QbA trocken","Riesling qba\r\n","Riesling qba","Silvaner\r\n","Silvaner qba","Riesling \r\n","2008er Grauer Burgunder QbA","2008er Weißburgunder Classic","2008er Silvaner QbA trocken","2008er "de liebliche"Weißburgunder QbA","2008er Portugieser Weißherbst QbA","2008er Dornfelder Rosee QbA\r\n","2008er Chardonnay Spätlese","2008er Spätburgunder Sekt trocken","2008er Riesling Sekt trocken","2008er Riesling Sekt brut BIO","2008er Junker Secco ÖKO","Pfälzer Traubensaft","2008er Dunkelfelder Barrique QbA trocken","2008er Junker Secco","Minerlalwasser\r\n","2009er Müller Thurgau QbA trocken","2012 Müller Thurgau QbA trocken","2009er Müller Thurgau QbA halbtrocken","2009er Kerner QbA mild","2009er Riesling QbA trocken","2009er Grauer Burgunder QbA halbtrocken","2009er Weißburgunder Classic","2009er Chardonnay Kabinett halbtr.","2009er Scheurebe Kabinett trocken","2009er Riesling Spätlese trocken","2009er Kerner Spätlese","2009er Gewürztraminer Spätlese","2009er Spätburgunder Weißherbst Eiswein","2009er Portugieser Weißherbst QbA mild","2009er Spätburgunder Blanc de Noir trocken","2009er Dornfelder Rosee QbA","2009er Dornfelder QbA trocken","2009er Dornfelder QbA halbtrocken","2009er Dunkelfelder QbA Rotwein trocken","2009er Saint Laurent QbA halbtrocken","Riesling qba","Riesling qba","Silvaner\r\n","Silvaner\r\n","20011 Riesling","Magnum2014","","","","Rieslng QbA\r\n","Silvaner qba","Silvaner qba","Riesling qba\r\n","Riesling qba\r\n","Riesling","20011 Riesling","Pfälzer Taubensaft","Junkers Weingelee","ThanhdatWein2014","Thanhdat","Testrotwein","2012 St. Laurent trocken\r\n QbA","1999er Ehrenfelser Eiswein","Falschen 0,75\r\n","Frachtkosten","1er Geschenkkarton","2er Geschenkkarton","3er Geschenkkarton","Pfälzer Schoppegläser","2012 Müller-Thurgau trocken\r\n","Rabatt","Riesling, Weiser - FB1\r\nSO4 - BB 5","Trauben Rot \r\n","Übernachtung","Versandkarton 6er","Versandkarton 12er","Versandkarton 18er","","Menü pro Person","Kaffeegedeck pro Person","Fingerfood und Canapes"," Dornfelder trocken","Diverse Küche","Gebratene Blutwurst","Leberwurst mit Sherryessig","Käsewürfel\r\n","Limburger mit Feigensenf","Pfälzer Drillinge mit pikanter Soße","Speckpflaumen","Luftgetrockneter Schinken mit Parmesan","Antipasti","Lachsmousse","Dornfelder halbtrocken","Kleine Variation Platte 6 S
,
Java
1
2
3
System.out.println(Verkaufsbezeichnung); 
Verkaufsbezeichnung = verkaufsbezeichnung.replaceAll("\\r\\n"," ").substring(2, verkaufsbezeichnung.length() - 2);
System.out.println(Verkaufsbezeichnung);

Java
1
2
3
System.out.println(Verkaufsbezeichnung);
Verkaufsbezeichnung = Verkaufsbezeichnung.replaceAll("\\r\\n"," ");
System.out.println(Verkaufsbezeichnung);
0
Pablito
2534 / 2013 / 627
: 12.05.2014
: 7,068
: 1
25.02.2016, 18:47 #27
, ,
,
Java
1
String Verkaufsbeyeichnung = "", verkaufsbeyeichnung;

Verkaufsbeyeichnung

Verkaufsbezeichnung

?
0
sausagerus
226 / 3 / 0
: 12.07.2014
: 51
25.02.2016, 18:51  [] #28
, ,
,
Java(TM) 2 Platform Standard Edition 5.0
1
String Verkaufsbeyeichnung = "", verkaufsbeyeichnung;

Verkaufsbeyeichnung

Verkaufsbezeichnung
?
!!!!!!!!!!!!!!!!!!!
)) y z, )
0
Pablito
2534 / 2013 / 627
: 12.05.2014
: 7,068
: 1
25.02.2016, 19:16 #29
,
0
Rube
911 / 559 / 88
: 13.02.2014
: 2,072
25.02.2016, 20:06 #30
, , .
Verkaufsbeyeichnung .
1
25.02.2016, 20:06
MoreAnswers
37091 / 29110 / 5898
: 17.06.2006
: 43,301
25.02.2016, 20:06
! :

nobody ? - PHP
nobody? : $from='ddw@ddwshop.com'; $subject=' DDW'; ...

- HTML, CSS
, ? ! ( .4.4)

Pointer - Delphi
//st: string; //Ftext : TMemoryStream; Ftext := TMemoryStream.Create(); Ftext.Position := 0; ...

NTLDR? - Windows
NTLDR !!!!!!! !!!




:
30

- , ,
-
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.