Diff
checker
文本
文本
圖像
文檔
Excel
文件夾
Legal
Enterprise
桌面版
定價
登入
下載 Diffchecker 桌面版
比較文本
尋找兩個文字檔案之間的差異
工具
歷史
即時編輯器
摺疊未變更行
關閉換行
檢視
拆分
統一
比對精度
智能
單詞
字符
語法突出顯示
選擇語法
忽略
文字轉換
前往第一個差異
編輯輸入
Diffchecker Desktop
執行Diffchecker最安全的方式。取得Diffchecker桌面應用程式:您的差異永遠不會離開您的電腦!
取得桌面版
Untitled diff
建立於
8 年前
差異永不過期
清除
匯出
分享
解釋
23 刪除
行
總計
刪除
字符
總計
刪除
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
47 行
全部複製
10 新增
行
總計
新增
字符
總計
新增
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
33 行
全部複製
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* See the License for the specific language governing permissions and
* limitations under the License.
* limitations under the License.
*/
*/
package org.apache.any23.cli.flows;
package org.apache.any23.cli.flows;
複製
已複製
複製
已複製
import org.apache.any23.
extractor.ExtractorDescription;
import org.apache.any23.
writer.DelegatingWriterFactory;
import org.apache.any23.extractor.ExtractorFactory;
import org.apache.any23.
writer.TripleHandler;
import org.apache.any23.extractor.SimpleExtractorFactory;
import org.apache.any23.
rdf.Prefixes;
import java.util.Arrays;
public class PeopleExtractorFactory extends SimpleExtractorFactory<PeopleExtractor>
implements ExtractorFactory<PeopleExtractor> {
public static final String NAME = "people";
public static final Prefixes prefixes = null;
複製
已複製
複製
已複製
private static final ExtractorDescription descriptionInstance = new
PeopleExtractorFactory
();
public class
PeopleExtractorFactory
implements DelegatingWriterFactory {
複製
已複製
複製
已複製
public
PeopleExtractorFactory
() {
@Override
super(NAME, prefixes, Arrays.asList("*/*"), null)
;
public
String getIdentifier
() {
return "people"
;
}
}
@Override
@Override
複製
已複製
複製
已複製
public
PeopleExtractor createExtractor(
) {
public
TripleHandler getTripleWriter(TripleHandler delegate
) {
return new PeopleExtractor(
);
return new PeopleExtractor(
delegate);
}
public static ExtractorDescription getDescriptionInstance() {
return descriptionInstance;
}
}
}
}
已保存差異
原始文本
開啟檔案
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.any23.cli.flows; import org.apache.any23.extractor.ExtractorDescription; import org.apache.any23.extractor.ExtractorFactory; import org.apache.any23.extractor.SimpleExtractorFactory; import org.apache.any23.rdf.Prefixes; import java.util.Arrays; public class PeopleExtractorFactory extends SimpleExtractorFactory<PeopleExtractor> implements ExtractorFactory<PeopleExtractor> { public static final String NAME = "people"; public static final Prefixes prefixes = null; private static final ExtractorDescription descriptionInstance = new PeopleExtractorFactory(); public PeopleExtractorFactory() { super(NAME, prefixes, Arrays.asList("*/*"), null); } @Override public PeopleExtractor createExtractor() { return new PeopleExtractor(); } public static ExtractorDescription getDescriptionInstance() { return descriptionInstance; } }
更改後文本
開啟檔案
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.any23.cli.flows; import org.apache.any23.writer.DelegatingWriterFactory; import org.apache.any23.writer.TripleHandler; public class PeopleExtractorFactory implements DelegatingWriterFactory { @Override public String getIdentifier() { return "people"; } @Override public TripleHandler getTripleWriter(TripleHandler delegate) { return new PeopleExtractor(delegate); } }
尋找差異